Changes between Initial Version and Version 1 of OvpnConfig


Ignore:
Timestamp:
10/05/22 17:36:22 (2 years ago)
Author:
ypap
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OvpnConfig

    v1 v1  
     1= OpenVPN Configuration file for CSLab VPN Server =
     2
     3=== General server parameters ===
     4{{{
     5#daemon                 # Linux ONLY
     6mode p2p
     7remote 147.102.3.30 5000
     8proto udp
     9dev tap
     10}}}
     11=== Keep alive settings ===
     12{{{
     13persist-tun
     14persist-key
     15}}}
     16
     17=== Security context ===
     18{{{
     19mlock           # Linux ONLY
     20user nobody     # Linux ONLY
     21group nogroup   # Linux ONLY
     22}}}
     23=== Logging ===
     24{{{
     25verb 3
     26comp-lzo
     27}}}
     28=== Routing at the client side. Redirects *all* traffic to VPN (default gateway) ===
     29{{{
     30client
     31route-delay 0 60
     32#redirect-gateway # (αν θέλουμε default gw το cslab)
     33route remote_host 255.255.255.255 net_gateway # (για να βλέπουμε τον 147.102.3.30)
     34#route-gateway 147.102.3.200
     35#route 0.0.0.0 0.0.0.0 vpn_gateway
     36route-method exe
     37#show-net-up
     38float
     39}}}
     40=== SSL/TLS settings ===
     41{{{
     42tls-client
     43ca cslab-ca-cert.pem
     44cert cslab-vpn-USER.cert
     45key cslab-vpn-USER.key
     46
     47tls-auth keys/cslab/cslab-vpn-static.txt
     48}}}
     49=== Validate the CN of the server certificate, to prevent man-in-the-middle attacks ===
     50`tls-remote transporter.cslab.ece.ntua.gr`
     51
     52=== non-default cipher, must be set at all clients ===
     53`cipher AES-256-CBC`