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_IPV6RouterOS terminal
/interface 6to4 add name=gt-sit local-address=YOUR_IPV4 remote-address=POP_IPV4 mtu=1480
/ipv6 address add address=CLIENT_IPV6/64 interface=gt-sit advertise=no
/ipv6 address add address=YOUR_PREFIX::1/64 interface=bridge advertise=yes
/ipv6 route add dst-address=::/0 gateway=SERVER_IPV6OpenWrt shell (uci)
# opkg install 6in4 (if not installed)
uci set network.gt=interface
uci set network.gt.proto='6in4'
uci set network.gt.peeraddr='POP_IPV4'
uci set network.gt.ip6addr='CLIENT_IPV6/64'
uci set network.gt.ip6prefix='YOUR_PREFIX::/64'
uci set network.gt.mtu='1480'
uci commit network
# add 'gt' to the WAN firewall zone, then:
/etc/init.d/network restart- Interfaces → Assignments → GIFs → Add: Parent interface
WAN, GIF remote addressPOP_IPV4, GIF tunnel local addressCLIENT_IPV6, remoteSERVER_IPV6, prefix length64. - Assign the new GIF interface, enable it, MTU
1480. - System → Routing → Gateways: add IPv6 gateway
SERVER_IPV6on the GIF interface and make it the default IPv6 gateway. - Set your LAN to static IPv6
YOUR_PREFIX::1/64and enable router advertisements. - Firewall → Rules → WAN: allow protocol
IPV6(41) fromPOP_IPV4.
Command Prompt · Run as administratorBehind NAT use your LAN IPv4 and forward protocol 41
netsh interface ipv6 add v6v4tunnel interface=GhostTunnel localaddress=YOUR_LAN_IPV4 remoteaddress=POP_IPV4
netsh interface ipv6 add address GhostTunnel CLIENT_IPV6
netsh interface ipv6 add route ::/0 GhostTunnel SERVER_IPV6
netsh interface ipv6 set subinterface GhostTunnel mtu=1480Behind 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.