1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 08:15:18 +00:00

builder: masq flag is associated with zone, not interface

This commit is contained in:
Lauri Võsandi 2018-05-17 13:20:07 +00:00
parent ca0f919201
commit 5565446b51

View File

@ -27,7 +27,6 @@ uci set dhcp.lan.limit=1
uci set network.vpn=interface
uci set network.vpn.ifname='ipsec0'
uci set network.vpn.proto='none'
uci set network.vpn.masq='1'
uci set firewall.vpn=zone
uci set firewall.vpn.name="vpn"
@ -35,6 +34,7 @@ uci set firewall.vpn.input="ACCEPT"
uci set firewall.vpn.forward="ACCEPT"
uci set firewall.vpn.output="ACCEPT"
uci set firewall.vpn.network="vpn"
uci set firewall.vpn.masq='1'
uci set firewall.lan2vpn=forwarding
uci set firewall.lan2vpn.src='lan'