htz-cloud.wireguard: add IPv4 NAT

This commit is contained in:
Franzi 2023-09-09 22:46:09 +02:00
parent 5238937044
commit 7845faeac3
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -36,6 +36,15 @@ nodes['htz-cloud.wireguard'] = {
'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': {
'cpu': 1,
'ram': 2,