• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1ip6tables-translate -t nat -A POSTROUTING -j MASQUERADE
2nft add rule ip6 nat POSTROUTING counter masquerade
3
4ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10
5nft add rule ip6 nat POSTROUTING meta l4proto tcp counter masquerade to :10
6
7ip6tables-translate -t nat -A POSTROUTING -p tcp -j MASQUERADE --to-ports 10-20 --random
8nft add rule ip6 nat POSTROUTING meta l4proto tcp counter masquerade to :10-20 random
9