Skip to main content
Docs/Tunnel types

SIT (6in4)

Protocol 41 encapsulation. The simplest setup — your public IPv4 must accept protocol 41 from the PoP.

Placeholders in the examples — take the real values from Your tunnels → Config in the dashboard:

POP_IPV4
Public IPv4 of the PoP (tunnel server)
YOUR_IPV4
Your public IPv4 address
CLIENT_IPV6 / SERVER_IPV6
Point-to-point tunnel addresses (ULA, /64)
YOUR_PREFIX
Your routed ::/64, e.g. 2a06:de01:c1:a001
bash · run as rootSimplified — the dashboard script adds policy routing
# Allow protocol 41 only from the PoP
iptables -I INPUT -p 41 -s POP_IPV4 -j ACCEPT

ip tunnel add gt-sit mode sit local YOUR_IPV4 remote POP_IPV4 ttl 255
ip link set gt-sit mtu 1480
ip link set gt-sit up
ip -6 addr add CLIENT_IPV6/64 dev gt-sit
ip -6 addr add YOUR_PREFIX::1/64 dev gt-sit
ip -6 route add ::/0 dev gt-sit

ping -6 -c2 SERVER_IPV6
Behind NAT?

Forward protocol 41 to the tunnel host, or use WireGuard. SIT does not work behind CGNAT.

Router examples are generic

MikroTik, OpenWrt, pfSense and Windows examples follow the vendors' documentation and may need small changes for your firmware version. The Linux commands match the script the dashboard generates.

Something unclear or missing? Contact support.