Created
September 19, 2019 19:47
-
-
Save steveberryman/64836abf02eb1470ac8a4b32e84bfae6 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
On gateway machine: | |
ip link add gretap type gretap remote <dst_host_public_ipv4> ttl 64 | |
ip link set gretap up | |
ip -6 a a fd00:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:yyyy/64 dev gretap | |
ip -6 route add <public::ipv6::address:routed::to:host/64> via fd00:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:zzzz dev gretap | |
On destination machine: | |
ip link add gretap type gretap remote <src_host_public_ipv4> ttl 64 | |
ip link set gretap up | |
ip -6 a a fd00:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:zzzz/64 dev gretap | |
ip -6 route add <public::ipv6::address:routed::to:host/64> via fd00:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:yyyy dev gretap | |
ip -6 default replace via fd00:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:yyyy dev gretap |
the salt from the tears complements the olive juice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when all else fails, cry in to your martini.