]> Cypherpunks.ru repositories - govpn.git/blobdiff - utils/newclient.sh
up.sh is not forcefully required
[govpn.git] / utils / newclient.sh
index 4d49ff4cbb199601d856dfbf84794af6c2fb1266..2c2a811e49aeb5863ecc763d9b4aa56d94ac4ea4 100755 (executable)
@@ -30,6 +30,7 @@ Place the following JSON configuration entry on the server's side:
 
     "$username": {
         "up": "/path/to/up.sh",
+        "iface": "or TAP interface name",
         "verifier": "$verifierS"
     }
 
@@ -37,17 +38,4 @@ Verifier was generated with:
 
     $(dirname $0)/storekey.sh /tmp/passphrase
     govpn-verifier -key /tmp/passphrase
-
-Create up.sh script that will output on the first line TAP interface
-name that must be used for the peer. For example:
-
-    % umask 077
-    % ed /path/to/up.sh
-    a
-    #!/bin/sh
-    echo tap0
-    .
-    wq
-    20
-    % chmod +x /path/to/up.sh
 EOF