mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
bugfix: added slashes to iptables rules
This commit is contained in:
parent
10be910657
commit
c83f2883ce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue