Last active
March 7, 2025 02:00
-
-
Save Gentoli/c40cf01a78bfdcd678223f9c86561c5f to your computer and use it in GitHub Desktop.
Unifi NAT66
This file contains hidden or 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
| #!/bin/bash | |
| # eth4 is the gateway | |
| # br0 is a PD enabled subnet without ULA | |
| ip6tables -t nat -A POSTROUTING -o eth4 -m set --match-set UBIOS6CUSTOM1_subnets src -m set \! --match-set UBIOS_ALL_NETv6_br0 dst -j MASQUERADE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment