6to4 allows IPv6 traffic over IPv4 networks.
ip tunnel add tun6to4 mode sit remote any local YOUR_IPV4_ADDRESS ttl 255
ip addr add 2002:YOUR_IPV4_HEX::1/16 dev tun6to4
ip link set tun6to4 up
ip -6 route add ::/0 dev tun6to4
netsh interface teredo set state client
netsh interface teredo show state
sudo apt install miredo
sudo systemctl start miredo
sudo ufw allow 3544/udp
sudo apt install cloudflared
cloudflared tunnel login
cloudflared tunnel create my-ssh-tunnel
cloudflared tunnel route ip my-ssh-tunnel 127.0.0.1
sudo mkdir -p /etc/cloudflared/
sudo nano /etc/cloudflared/config.yml
tunnel: my-ssh-tunnel
credentials-file: /root/.cloudflared/my-ssh-tunnel.json
ingress:
- hostname: ssh.example.com
service: ssh://localhost:22
- service: http_status:404
cloudflared tunnel run my-ssh-tunnel
ssh -o ProxyCommand="cloudflared access ssh --hostname ssh.example.com" [email protected]
Include the following when contacting us:
Visit our Contact Us page.