changed default ipv6 prefix to 2001:db8:cafe:: (#1321)

to be compliant with RFC3849
This commit is contained in:
Julian Lemmerich 2022-01-14 03:50:27 +01:00 committed by GitHub
parent ea6675879c
commit f75e51ca46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 87 additions and 87 deletions

View file

@ -314,7 +314,7 @@ $ sudo sysctl -w net.ipv6.conf.all.forwarding=1
### Add NAT Rule
$ sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:230:cafe::/48 ! -o ogstun -j MASQUERADE
$ sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE
```
**Note:** For the first time, it is a good condition if you do not have any rules in the IP/NAT tables. If a program such as docker has already set up a rule, you will need to add a rule differently.