1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Fix eth0 in all shorewall files

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-07-28 18:39:32 +00:00
parent c1fa82ea32
commit 3da17e9106
3 changed files with 4 additions and 4 deletions

View file

@ -247,9 +247,9 @@ fi
# Add OpenMPTCProuter VPS script version to /etc/motd
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.37 >:' /etc/motd
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.38 >:' /etc/motd
else
echo '< OpenMPTCProuter VPS 0.37 >' >> /etc/motd
echo '< OpenMPTCProuter VPS 0.38 >' >> /etc/motd
fi
if [ "$update" = "0" ]; then

View file

@ -18,6 +18,6 @@
MASQUERADE 10.0.0.0/8,\
169.254.0.0/16,\
172.16.0.0/12,\
192.168.0.0/16 eth0
192.168.0.0/16 $NET_IFACE
# SNAT from VPN server for all VPN clients
#SNAT($VPS_ADDR) 0.0.0.0/0 $VPS_IFACE

View file

@ -16,6 +16,6 @@
#ACTION SOURCE DEST PROTO PORT IPSEC MARK USER SWITCH ORIGDEST PROBABILITY
#
MASQUERADE fe80::/10,\
fd00::/8 eth0
fd00::/8 $NET_IFACE
# SNAT from VPN server for all VPN clients
SNAT(fe80::a00:1) ::/0 omr-6in4