Skip to main content
Docs/Tunnel types

GRE tunnels

Generic Routing Encapsulation (protocol 47). Supported by most routers and firewalls.

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 GRE (protocol 47) only from the PoP
iptables -I INPUT -p 47 -s POP_IPV4 -j ACCEPT

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

ping -6 -c2 SERVER_IPV6
MTU

GRE adds 24 bytes of overhead — use MTU 1476 on the tunnel interface.

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.