You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
438 B
9 lines
438 B
4 months ago
|
ip6tables-translate -t nat -A POSTROUTING -j MASQUERADE
|
||
|
nft add rule ip6 nat POSTROUTING counter masquerade
|
||
|
|
||
|
ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10
|
||
|
nft add rule ip6 nat POSTROUTING meta l4proto tcp counter masquerade to :10
|
||
|
|
||
|
ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10-20 --random
|
||
|
nft add rule ip6 nat POSTROUTING meta l4proto tcp counter masquerade to :10-20 random
|