Code: Select all
Ethernet adapter OpenVPN:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::594b:68ab:32ac:b988%14
IPv4 Address. . . . . . . . . . . : 10.8.0.6
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . : 10.8.0.5
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::e97e:3504:8536:80e7%12
IPv4 Address. . . . . . . . . . . : 192.168.1.99
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Code: Select all
# Client config
client
dev tun
dev-node OpenVPN
proto udp
remote *HIDDEN* 8887
resolv-retry infinite
nobind
persist-key
persist-tun
# file can be used for all clients.
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\client1.crt"
key "C:\\Program Files\\OpenVPN\\config\\client1.key"
comp-lzo
verb 3
Code: Select all
# Server config
port 8887
proto udp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key # This file should be kept secret
dh /etc/openvpn/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push redirect-gateway
keepalive 10 120
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
# Connection log
Wed Jul 13 23:02:22 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Wed Jul 13 23:02:22 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Jul 13 23:02:22 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Jul 13 23:02:22 2011 LZO compression initialized
Wed Jul 13 23:02:22 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Wed Jul 13 23:02:22 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Jul 13 23:02:22 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Jul 13 23:02:22 2011 Local Options hash (VER=V4): '41690919'
Wed Jul 13 23:02:22 2011 Expected Remote Options hash (VER=V4): '530fdded'
Wed Jul 13 23:02:22 2011 UDPv4 link local: [undef]
Wed Jul 13 23:02:22 2011 UDPv4 link remote: *HIDDEN*:8887
Wed Jul 13 23:02:22 2011 TLS: Initial packet from *HIDDEN*:8887, sid=78cfcc1b 8b18460d
Wed Jul 13 23:02:25 2011 VERIFY OK: depth=1, /C=*HIDDEN*/ST=*HIDDEN*/L=*HIDDEN*/O=*HIDDEN*/CN=*HIDDEN*/emailAddress=*HIDDEN*
Wed Jul 13 23:02:25 2011 VERIFY OK: depth=0, /C=*HIDDEN*/ST=*HIDDEN*/L=*HIDDEN*/O=*HIDDEN*/CN=server/emailAddress=*HIDDEN*
Wed Jul 13 23:02:26 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jul 13 23:02:26 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jul 13 23:02:26 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Jul 13 23:02:26 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jul 13 23:02:26 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Jul 13 23:02:26 2011 [server] Peer Connection Initiated with *HIDDEN*:8887
Wed Jul 13 23:02:28 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Jul 13 23:02:28 2011 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Wed Jul 13 23:02:28 2011 OPTIONS IMPORT: timers and/or timeouts modified
Wed Jul 13 23:02:28 2011 OPTIONS IMPORT: --ifconfig/up options modified
Wed Jul 13 23:02:28 2011 OPTIONS IMPORT: route options modified
Wed Jul 13 23:02:28 2011 ROUTE default_gateway=192.168.1.1
Wed Jul 13 23:02:29 2011 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{7F3F0B85-2F3A-4576-B849-45C2D7D25E0B}.tap
Wed Jul 13 23:02:29 2011 TAP-Win32 Driver Version 9.8
Wed Jul 13 23:02:29 2011 TAP-Win32 MTU=1500
Wed Jul 13 23:02:29 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {7F3F0B85-2F3A-4576-B849-45C2D7D25E0B} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Wed Jul 13 23:02:29 2011 Successful ARP Flush on interface [14] {7F3F0B85-2F3A-4576-B849-45C2D7D25E0B}
Wed Jul 13 23:02:34 2011 TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up
Wed Jul 13 23:02:34 2011 C:\WINDOWS\system32\route.exe ADD *HIDDEN* MASK 255.255.255.255 192.168.1.1
Wed Jul 13 23:02:34 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Wed Jul 13 23:02:34 2011 Route addition via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:34 2011 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 192.168.1.1
Wed Jul 13 23:02:34 2011 Route deletion via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:34 2011 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 10.8.0.5
Wed Jul 13 23:02:34 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Wed Jul 13 23:02:34 2011 Route addition via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:34 2011 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Wed Jul 13 23:02:34 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Wed Jul 13 23:02:34 2011 Route addition via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:34 2011 Initialization Sequence Completed
Wed Jul 13 23:02:44 2011 TCP/UDP: Closing socket
Wed Jul 13 23:02:44 2011 C:\WINDOWS\system32\route.exe DELETE 10.8.0.1 MASK 255.255.255.255 10.8.0.5
Wed Jul 13 23:02:45 2011 Route deletion via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:45 2011 C:\WINDOWS\system32\route.exe DELETE *HIDDEN* MASK 255.255.255.255 192.168.1.1
Wed Jul 13 23:02:45 2011 Route deletion via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:45 2011 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 10.8.0.5
Wed Jul 13 23:02:45 2011 Route deletion via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:45 2011 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 192.168.1.1
Wed Jul 13 23:02:45 2011 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Wed Jul 13 23:02:45 2011 Route addition via IPAPI succeeded [adaptive]
Wed Jul 13 23:02:45 2011 Closing TUN/TAP interface
Wed Jul 13 23:02:45 2011 SIGTERM[hard,] received, process exiting