proxmox_tunnel_bridge_via_tinc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proxmox_tunnel_bridge_via_tinc [2020/07/16 11:47] – neoon | proxmox_tunnel_bridge_via_tinc [2021/11/25 22:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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' >> / | ||
ip -4 route add 10.23.23.0/ | ip -4 route add 10.23.23.0/ | ||
ip rule add from 10.23.23.0/ | ip rule add from 10.23.23.0/ | ||
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 | ||
+ | | ||
+ | If you wanna run these automatically at VPN start put them into / |
proxmox_tunnel_bridge_via_tinc.1594900046.txt.gz · Last modified: 2021/11/25 22:43 (external edit)