I want to route all internet traffic (including udp for sip) through a tinc tunnel (https://www.tinc-vpn.org/). To set up the tinc tunnel is quite straight forward. After starting the tinc daemon on both boxes I have now following routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 1024 0 0 eth1 10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 sip-tunnel 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
It is possible to ping to the 10.1.0.X ip address on the box on the other side (in both directions). How can I configure one box (the server) to forward (or route?) all traffic coming from the tinc tunnel to the internet? How do I have to configure the other box (client) to route all internet traffic through the tinc tunnel? Is it possible use this to circumvent a sip block from the ISP (udp traffic)?