1
0
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:
zbchristian 2021-07-24 15:04:01 +02:00 committed by GitHub
parent 0a6e48a953
commit 1855f40f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,