mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Add masquerade rule for NAT
Add default NAT POSTROUTING rule to masquerade addresses
This commit is contained in:
parent
0a6e48a953
commit
1855f40f9d
@ -81,6 +81,13 @@
|
|||||||
"-A OUTPUT -o $INTERFACE$ -j ACCEPT"
|
"-A OUTPUT -o $INTERFACE$ -j ACCEPT"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "NAT for access point",
|
||||||
|
"comment": "Masquerading needed for access point",
|
||||||
|
"rules": [
|
||||||
|
"-t nat -A POSTROUTING -j MASQUERADE"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "clients",
|
"name": "clients",
|
||||||
"fw-state": true,
|
"fw-state": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user