I have two problems:
- 1. I can only connect to the server using TCP.
2. when I do connect to the server from a client I can't connect to the web.
My goals are:
- 1. use udp to connect to the server from my client, and
2. access the web from the client device through the server.
My Server OS is Ubuntu 12.4 LTS
My Clients OS iOS 6.13.
When I attempt to start the server using the OpenVPN Access Server GUI I get the following error message:
process started and then immediately exited: ['Wed Jun 19 13:49:52 2013 TCP/UDP: Socket bind failed on local address 192.102.1.2:1194: Address already in use'] service failed to start or returned error status.
in the server network settings I have the protocol set to both TCP and UDP with ports 443 and 1194 respectively and then I can connect to the server using TCP but not UDP. If I set the protocol to UDP using port 1194 only, I get the above error message.
server.conf
port 1194
proto udp
dev tun
ca ca.crt
cert ubuntu.crt
key ubuntu.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 6
I am using the OpenVPN Connect Client.
Thanks in advance for any help.