mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix ruleset with iptables + iptables-save
This commit is contained in:
parent
40e558b720
commit
0218f4beea
@ -1,5 +1,10 @@
|
|||||||
iptables -t nat -A POSTROUTING -j MASQUERADE
|
# RaspAP iptables rules
|
||||||
iptables -t nat -A POSTROUTING -s 192.168.50.0\/24 ! -d 192.168.50.0\/24 -j MASQUERADE
|
*nat
|
||||||
|
:PREROUTING ACCEPT [0:0]
|
||||||
|
:INPUT ACCEPT [0:0]
|
||||||
|
:POSTROUTING ACCEPT [0:0]
|
||||||
|
:OUTPUT ACCEPT [0:0]
|
||||||
|
-A POSTROUTING -j MASQUERADE
|
||||||
|
-A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE
|
||||||
COMMIT
|
COMMIT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user