Add missing rule for 10.0.0.0/8
This commit is contained in:
parent
709af554b9
commit
6ddac5f1e2
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ in {
|
|||
nft add table ip wg_nat-${interface}
|
||||
nft add chain ip wg_nat-${interface} postrouting '{type nat hook postrouting priority srcnat;}'
|
||||
nft add rule ip wg_nat-${interface} postrouting ip saddr 192.168.0.0/16 oifname "public-ip4" counter snat to ${externalIp}
|
||||
nft add rule ip wg_nat-${interface} postrouting ip saddr 10.0.0.0/8 oifname "public-ip4" counter snat to ${externalIp}
|
||||
|
||||
nft add table inet wg_filter-${interface}
|
||||
nft add chain inet wg_filter-${interface} forward '{type filter hook forward priority 0; policy accept;}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue