htz-cloud.wireguard: add IPv4 NAT
This commit is contained in:
parent
5238937044
commit
7845faeac3
1 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,15 @@ nodes['htz-cloud.wireguard'] = {
|
||||||
'172.19.137.0/24',
|
'172.19.137.0/24',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'nftables': {
|
||||||
|
'rules': {
|
||||||
|
'50-router': [
|
||||||
|
'inet filter forward ct state { related, established } accept',
|
||||||
|
'inet filter forward oif eth0 accept',
|
||||||
|
'nat postrouting oif eth0 masquerade',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'vm': {
|
'vm': {
|
||||||
'cpu': 1,
|
'cpu': 1,
|
||||||
'ram': 2,
|
'ram': 2,
|
||||||
|
|
Loading…
Reference in a new issue