Browse Source

added config for tap device

master
Robin Thoni 8 years ago
parent
commit
216fc30e93
2 changed files with 3 additions and 0 deletions
  1. 2
    0
      vpngen/default/clients/client.conf
  2. 1
    0
      vpngen/vpngen.json

+ 2
- 0
vpngen/default/clients/client.conf View File

@@ -5,6 +5,8 @@ proto tcp-client
5 5
 remote ${hostname} ${port}
6 6
 resolv-retry infinite
7 7
 cipher AES-256-CBC
8
+lladdr ${mac}
9
+ifconfig-noexec
8 10
 
9 11
 # Keys
10 12
 ca ca-${name}.crt

+ 1
- 0
vpngen/vpngen.json View File

@@ -14,6 +14,7 @@
14 14
     "hostname": "vpn.example.com",
15 15
     "net": "10.0.0.0",
16 16
     "mask": "255.255.255.0",
17
+    "mac": "16:99:45:00:00:00",
17 18
     "dev": "tap",
18 19
     "user": "root",
19 20
     "group": "root",

Loading…
Cancel
Save