Created
March 21, 2024 10:23
-
-
Save DanielG/c9ffeefbf50bfe4925aa204f9dc4c40a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chain postrouting { | |
type nat hook postrouting priority 110; policy accept; | |
oifgroup wan (ip6 saddr & ::ff:ff00:0) == ::ff:fe00:0 counter \ | |
ip6 saddr vmap { \ | |
2001:678:4d8::/64 : jump postrouting-debby-snat-privacy, \ | |
2001:678:4d8:2d00::/64 : jump postrouting-ruddy-snat-privacy, \ | |
} | |
} | |
chain postrouting-debby-snat-privacy { | |
counter | |
snat ip6 to 2001:678:4d8::00ff:fe00:0/104 fully-random persistent | |
} | |
chain postrouting-ruddy-snat-privacy { | |
counter | |
snat ip6 to 2001:678:4d8:2d00::00ff:fe00:0/104 fully-random persistent | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment