mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
Update pptpd.include (#7758)
If not return PPPoE traffic, it will make flow-offload rules has no effect.
This commit is contained in:
parent
af0d19fcde
commit
9bf56ad0d2
@ -1,6 +1,11 @@
|
||||
iptables -D forwarding_rule -i ppp+ -j ACCEPT 2>/dev/null
|
||||
iptables -D forwarding_rule -o ppp+ -j ACCEPT 2>/dev/null
|
||||
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
|
||||
|
||||
iptables -A forwarding_rule -i ppp+ -j ACCEPT
|
||||
iptables -A forwarding_rule -o ppp+ -j ACCEPT
|
||||
echo 1 > /proc/sys/net/ipv4/conf/br-lan/proxy_arp
|
||||
|
Loading…
Reference in New Issue
Block a user