User Tools

Site Tools


proxmox_tunnel_bridge_via_tinc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
proxmox_tunnel_bridge_via_tinc [2020/07/16 12:52] neoonproxmox_tunnel_bridge_via_tinc [2020/07/17 08:09] neoon
Line 6: Line 6:
   ip route del default via 10.0.0.1 table TUNNEL   ip route del default via 10.0.0.1 table TUNNEL
      
-Add instead+To route the traffic accordingly
   echo '777 TINC' >> /etc/iproute2/rt_table   echo '777 TINC' >> /etc/iproute2/rt_table
   ip -4 route add 10.23.23.0/24 dev vmbr3 table TINC   ip -4 route add 10.23.23.0/24 dev vmbr3 table TINC
Line 12: Line 12:
   ip route add default via 10.0.0.1 table TINC   ip route add default via 10.0.0.1 table TINC
   iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE   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 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki