Hi to all,
this is my first post and I hope I'm not infringing any rule.
I'm totally new to OpenVPN.
I've installed OpenVPn on XP SP3 as server, I haven't installed the client yet, following this tutorial
http://www.youtube.com/watch?v=EHSUwyuD1Xw. My goal is to create a VPN so a client can connect from Italy to the server in the UK and it can surf the net appearing to be in the UK. Everything went well and I was able to connect, but after a restart of the system when I try to connect I get the message: Error opening logfile for writing E:\Programs\OpenVPN\log\server.log You probably don't have administrator privileges, which are necessary to run OpenVPN.
I'm the only user of the machine and I have administrator privileges. I'm running OpenVPN (ver. 2.1.3) as service and I'm trying to connect from the GUI v1.0.3.
Any help would be appreciate, thanks in advance
This is the server log:
Tue Sep 24 09:56:48 2013 OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
Tue Sep 24 09:56:48 2013 NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to
Tue Sep 24 09:56:48 2013 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Tue Sep 24 09:56:48 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Sep 24 09:56:49 2013 Diffie-Hellman initialized with 1024 bit key
Tue Sep 24 09:56:49 2013 Control Channel Authentication: using 'key.txt' as a OpenVPN static key file
Tue Sep 24 09:56:49 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 24 09:56:49 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Sep 24 09:56:49 2013 TLS-Auth MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Tue Sep 24 09:56:49 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Sep 24 09:56:49 2013 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{90DBE2FB-C1A3-4F29-85BA-C978A85BB1D3}.tap
Tue Sep 24 09:56:49 2013 TAP-Win32 Driver Version 9.7
Tue Sep 24 09:56:49 2013 TAP-Win32 MTU=1500
Tue Sep 24 09:56:49 2013 Sleeping for 10 seconds...
Tue Sep 24 09:56:59 2013 Successful ARP Flush on interface [3] {90DBE2FB-C1A3-4F29-85BA-C978A85BB1D3}
Tue Sep 24 09:56:59 2013 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Tue Sep 24 09:56:59 2013 UDPv4 link local (bound): [undef]:1194
Tue Sep 24 09:56:59 2013 UDPv4 link remote: [undef]
Tue Sep 24 09:56:59 2013 MULTI: multi_init called, r=256 v=256
Tue Sep 24 09:56:59 2013 IFCONFIG POOL: base=192.168.0.50 size=51
Tue Sep 24 09:56:59 2013 IFCONFIG POOL LIST
Tue Sep 24 09:56:59 2013 Initialization Sequence Completed
This is my config:
port 1194
proto udp
dev tap
dev-node OpenVPN
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.0.11 255.255.255.0 192.168.0.50 192.168.0.100
push "redirect-gateway def1"
keepalive 10 120
tls-auth key.txt 0 # This file is secret
comp-lzo
max-clients 2
persist-key
persist-tun
status openvpn-status.log
verb 3