puppet/modules/rhizo_base/templates/tinc-up.erb
Keith Whyte 1adf3a92a3 Manage tinc-up script
We might want to add routes globally here, so we can avoid nat elsewwhere,
Also make sure that the route to DGSM mcast is up if tinc is retarted
2023-03-30 06:42:12 +02:00

4 lines
242 B
Text

/sbin/ifconfig $INTERFACE <%= @vpn_ip_address %> netmask 255.255.0.0
/sbin/ip route add 10.22.0.0/16 via 10.23.0.2 dev rhizomatica
/sbin/ip route add 10.60.0.0/16 via 10.23.0.2 dev rhizomatica
/sbin/ip route add 239.192.23.42 dev rhizomatica