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
 remote ${hostname} ${port}
5
 remote ${hostname} ${port}
6
 resolv-retry infinite
6
 resolv-retry infinite
7
 cipher AES-256-CBC
7
 cipher AES-256-CBC
8
+lladdr ${mac}
9
+ifconfig-noexec
8
 
10
 
9
 # Keys
11
 # Keys
10
 ca ca-${name}.crt
12
 ca ca-${name}.crt

+ 1
- 0
vpngen/vpngen.json View File

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

Loading…
Cancel
Save