SHOW:
|
|
- or go back to the newest paste.
1 | #============================================================================# | |
2 | # Specify the Hostname or the IP, the port and the protocol (tcp or udp) # | |
3 | # to reach the OpenVPN Server. # | |
4 | # The Hostname can be a dynamic FQDN such as a DynDNS one. # | |
5 | #============================================================================# | |
6 | ||
7 | remote ***YOURHOSTNAMEHERE*** 1194 | |
8 | proto tcp | |
9 | ||
10 | ||
11 | #============================================================================# | |
12 | # You must specify this parameter if you want the Username and Password # | |
13 | # request to appear. Comment it if you only use X.509 Authentication. # | |
14 | #============================================================================# | |
15 | ||
16 | auth-user-pass | |
17 | ||
18 | ||
19 | #============================================================================# | |
20 | # You need to specify the file which contains the certificate (PEM format) # | |
21 | # of the Certification Authority that signed the OpenVPN server certificate. # | |
22 | # You can export it by clicking the hyperlink CA on the login page of # | |
23 | # ZeroShell. # | |
24 | # Notice that you need to specify this parameter also if you use # | |
25 | # "Password Only" Authentication. # | |
26 | #============================================================================# | |
27 | ||
28 | ca CA.pem | |
29 | ||
30 | ||
31 | #============================================================================# | |
32 | # If you want to use the Client X.509 Authentication you must specify # | |
33 | # a client certificate and the related private key in pem format. # | |
34 | # You can merge both in the same file. # | |
35 | #============================================================================# | |
36 | ||
37 | cert admin.pem | |
38 | key admin.pem | |
39 | ||
40 | ||
41 | #============================================================================# | |
42 | # You should not need to change these settings. # | |
43 | #============================================================================# | |
44 | ||
45 | comp-lzo | |
46 | verb 4 | |
47 | mute 20 | |
48 | resolv-retry infinite | |
49 | nobind | |
50 | client | |
51 | dev tap | |
52 | persist-key | |
53 | - | persist-tun |
53 | + | persist-tun |