From a2829dcf78d0cc8d2d10d4f74f34bef18931c1e5 Mon Sep 17 00:00:00 2001 From: billz Date: Thu, 7 Mar 2019 10:15:51 +0000 Subject: [PATCH] Added iptables nat rules for uap0 config --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 1cab75ab..84d96740 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -205,7 +205,7 @@ function default_configuration() { lines=( 'echo 1 > \/proc\/sys\/net\/ipv4\/ip_forward #RASPAP' 'iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP' - + 'iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE #RASPAP' ) for line in "${lines[@]}"; do