diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index c2c9f5d..05ea4d9 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -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 diff --git a/shorewall4/snat b/shorewall4/snat index 024c9d8..fec1ff9 100644 --- a/shorewall4/snat +++ b/shorewall4/snat @@ -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 diff --git a/shorewall6/snat b/shorewall6/snat index b1046e4..7468de7 100644 --- a/shorewall6/snat +++ b/shorewall6/snat @@ -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