Getting started with NFTables - long way to go
This commit is contained in:
@@ -5,9 +5,12 @@
|
||||
"VPN": { "iface": "wg0" }
|
||||
},
|
||||
"policy": [
|
||||
{ "in": "VPN", "action": "accept" },
|
||||
{ "out": "VPN", "action": "accept" },
|
||||
{ "in": "VPN", "action": "drop" },
|
||||
{ "in": "WAN", "action": "drop" },
|
||||
{ "action": "reject" }
|
||||
],
|
||||
"snat": [
|
||||
{ "out": "WAN", "src": "10.0.0.1/24" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user