From c83f2883ce03826a346b7b11fddf8f1101aecede Mon Sep 17 00:00:00 2001 From: billz Date: Sat, 6 Apr 2019 08:36:36 +0100 Subject: [PATCH] bugfix: added slashes to iptables rules --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 3428ce46..f57e9245 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' + '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