|
|
|
@ -222,7 +222,7 @@ function default_configuration() {
|
|
|
|
|
if [ ! -f /usr/sbin/iptables-nft ]; then
|
|
|
|
|
tablerouteA='iptables -t nat -A POSTROUTING -s 10.3.141.0\/24 -o lokitun0 -j MASQUERADE #RASPAP'
|
|
|
|
|
tablerouteB='iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP'
|
|
|
|
|
else
|
|
|
|
|
fi
|
|
|
|
|
sudo apt-get -y install nftables
|
|
|
|
|
tablerouteA='nft add rule ip nat POSTROUTING oifname "lokitun0" ip saddr 10.3.141.0\/24 counter masquerade #RASPAP'
|
|
|
|
|
tablerouteB='nft add rule ip nat POSTROUTING counter masquerade #RASPAP'
|
|
|
|
|