2017-11-11 23:26:14 +08:00
|
|
|
iptables -D FORWARD -m policy --dir in --pol ipsec --proto esp -j ACCEPT 2>/dev/null
|
|
|
|
iptables -D FORWARD -m policy --dir out --pol ipsec --proto esp -j ACCEPT 2>/dev/null
|
|
|
|
iptables -D INPUT -m policy --dir in --pol ipsec --proto esp -j ACCEPT 2>/dev/null
|
|
|
|
iptables -D OUTPUT -m policy --dir out --pol ipsec --proto esp -j ACCEPT 2>/dev/null
|
|
|
|
|
2017-09-06 20:18:34 +08:00
|
|
|
iptables -I FORWARD -m policy --dir in --pol ipsec --proto esp -j ACCEPT
|
|
|
|
iptables -I FORWARD -m policy --dir out --pol ipsec --proto esp -j ACCEPT
|
|
|
|
iptables -I INPUT -m policy --dir in --pol ipsec --proto esp -j ACCEPT
|
|
|
|
iptables -I OUTPUT -m policy --dir out --pol ipsec --proto esp -j ACCEPT
|
2018-01-24 13:02:35 +08:00
|
|
|
|
|
|
|
echo 1 > /proc/sys/net/ipv4/conf/br-lan/proxy_arp
|