mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-28 03:01:54 +08:00
12 lines
585 B
Plaintext
Executable File
12 lines
585 B
Plaintext
Executable File
iptables -D forwarding_rule -i pppoe+ -j RETURN 2>/dev/null
|
|
iptables -D forwarding_rule -o pppoe+ -j RETURN 2>/dev/null
|
|
iptables -D forwarding_rule -i ppp+ -m conntrack --ctstate NEW -j ACCEPT 2>/dev/null
|
|
iptables -D forwarding_rule -o ppp+ -m conntrack --ctstate NEW -j ACCEPT 2>/dev/null
|
|
|
|
iptables -A forwarding_rule -i pppoe+ -j RETURN
|
|
iptables -A forwarding_rule -o pppoe+ -j RETURN
|
|
iptables -A forwarding_rule -i ppp+ -m conntrack --ctstate NEW -j ACCEPT
|
|
iptables -A forwarding_rule -o ppp+ -m conntrack --ctstate NEW -j ACCEPT
|
|
|
|
echo 1 > /proc/sys/net/ipv4/conf/br-lan/proxy_arp
|