op-packages/luci-app-pptp-server/root/etc/pptpd.include
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

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