diff --git a/installers/common.sh b/installers/common.sh index da0d3be..2a62b6c 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -207,7 +207,9 @@ function default_configuration() { # #RASPAP is for removal script lines=( 'echo 1 > \/proc\/sys\/net\/ipv4\/ip_forward #RASPAP' + 'iptables -t nat -A POSTROUTING -s 10.3.141.0/24 -o lokitun0 -j MASQUERADE #LOKIPAP' 'iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP' + 'sudo /etc/init.d/dnsmasq restart' )