]> git.llucax.com Git - software/pymin.git/blobdiff - services/vpn/templates/tinc-up
Use ip command to configure VPN networks in vpn service (closes #34)
[software/pymin.git] / services / vpn / templates / tinc-up
index 282a7a14d7df1471a55e31e7e2e60c8ea047af2b..52765703d6efc5fea1c79258be19a0930ed0bb31 100644 (file)
@@ -1,2 +1,2 @@
 #!/bin/sh
 #!/bin/sh
-ifconfig $INTERFACE ${vpn.local_ip} netmask ${vpn.mask}
+ip addr add ${vpn.local_addr} dev $INTERFACE