tinc/templates/tinc-up.j2

5 lines
137 B
Plaintext
Raw Normal View History

2021-01-04 22:35:43 +01:00
#!/bin/sh
ip link set $INTERFACE up
ip addr add {{ vpn_ip }}/32 dev $INTERFACE
ip route add {{ net_addr }}/{{ net_cidr }} dev $INTERFACE