mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-05 22:07:06 +08:00
add arp proxy for ipsec vpn server
This commit is contained in:
parent
8a3198fe7a
commit
daac324b1d
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for IPSec VPN Server (IKEv1 with PSK and Xauth)
|
|||||||
LUCI_DEPENDS:=+strongswan-minimal +strongswan-mod-xauth-generic
|
LUCI_DEPENDS:=+strongswan-minimal +strongswan-mod-xauth-generic
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=2.0
|
PKG_VERSION:=2.0
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -7,3 +7,5 @@ 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 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 INPUT -m policy --dir in --pol ipsec --proto esp -j ACCEPT
|
||||||
iptables -I OUTPUT -m policy --dir out --pol ipsec --proto esp -j ACCEPT
|
iptables -I OUTPUT -m policy --dir out --pol ipsec --proto esp -j ACCEPT
|
||||||
|
|
||||||
|
echo 1 > /proc/sys/net/ipv4/conf/br-lan/proxy_arp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user