wok rev 23219

openvpn: add make-ovpn (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 23 11:07:18 2020 +0100 (2020-03-23)
parents 3a91691ee943
children a79df5936e70
files openvpn/stuff/usr/bin/make-ovpn
line diff
     1.1 --- a/openvpn/stuff/usr/bin/make-ovpn	Mon Mar 23 07:58:20 2020 +0100
     1.2 +++ b/openvpn/stuff/usr/bin/make-ovpn	Mon Mar 23 11:07:18 2020 +0100
     1.3 @@ -129,8 +129,8 @@
     1.4  
     1.5  ifconfig $net.1 $net.3
     1.6  ifconfig-pool $net.6 $net.254
     1.7 +route $net.0 255.255.255.0
     1.8  $(shift 3; for i in $net.0/255.255.255.0 $@; do
     1.9 -	echo "route ${i/\// }"
    1.10  	echo "push \"route ${i/\// }\""
    1.11  done)
    1.12  $(sed -e '/nameserver/!d;s|nameserver *|push "dhcp-option DNS |;s|.*|&"|' \