revlis.nl
Stash of notes about OSS, OSes, virtualization, dev hobby projects &c
March 28, 2018 — 11:39
How to create a 6to4 tunnel in Windows using CLI (for use with HE’s free Tunnel Broker service for example).
netsh interface teredo set state disabled netsh interface ipv6 add v6v4tunnel TunnelNamenetsh interface ipv6 add address TunnelName 2001:a:b:c::2 netsh interface ipv6 add route ::/0 TunnelName 2001:a:b:c::1
Where:
- “2001:a:b:c::” is your prefix
- “2001:a:b:c::1” is the gateway
- “2001:a:b:c::2” is your ipv6 address
Delete the tunnel:
netsh interface ipv6 delete address TunnelName 2001:a:b:c::2 netsh interface ipv6 delete route ::/0 TunnelName 2001:a:b:c::1 netsh interface ipv6 delete interface TunnelName
A HE tunnel can be requested here: https://tunnelbroker.net.