User Tools

Site Tools


Tunnel bridge via Tinc VPN

In case you used Tunnel Traffic through Tinc before.

ip rule del from table TUNNEL
ip route del default via table TUNNEL

To route the traffic accordingly

echo '777 TINC' >> /etc/iproute2/rt_table
ip -4 route add dev vmbr3 table TINC
ip rule add from lookup TINC
ip route add default via table TINC
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

If you wanna run these automatically at VPN start put them into /etc/tinc/xxxx/tinc-up

proxmox_tunnel_bridge_via_tinc.txt · Last modified: 2021/11/25 22:42 by

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki