Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 432ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
n

network-configuration

Recently created Least recently created Recently updated Least recently updated

timmy / iptables 高效設定技巧

Last active 5 hours ago ddos-protection firewall-security iptables network-configuration traffic-management

快速配置 iptables,確保流量安全,簡單搞定網絡管理。

0 0 0 7
1 # 僅允許必要的 OUTPUT 流量
2 iptables -A OUTPUT -o eth0 -p tcp --dport 80 -j ACCEPT
3 iptables -A OUTPUT -o eth0 -p tcp --dport 443 -j ACCEPT
4 iptables -A OUTPUT -o eth0 -p udp --dport 53 -j ACCEPT

timmy / OpenWrt 套件與網路配置操作指南

Last active 5 hours ago firewall luci network-configuration openwrt opkg package-management uci

快速掌握使用 opkg 管理 OpenWrt 套件以及設定網路、防火牆和系統參數的基本指令。

0 0 0 2
1 # 更新 OpenWrt 套件庫
2 opkg update
3
4 # 安裝指定的套件
5 opkg install <package_name>
6
7 # 安裝 LuCI 網頁管理介面
8 opkg install luci
9
10 # 移除指定的套件