-
4th May 2011, 12:34 AM
#1
Openvpn Agony
I finally got the certs to configure
openvpn --config server.conf
Tue May 3 17:26:27 2011 OpenVPN 2.1.1 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 5 2010
Tue May 3 17:26:27 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 3 17:26:27 2011 Diffie-Hellman initialized with 1024 bit key
Tue May 3 17:26:27 2011 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue May 3 17:26:27 2011 ROUTE default_gateway=192.168.122.1
Tue May 3 17:26:27 2011 TUN/TAP device tun0 opened
Tue May 3 17:26:27 2011 TUN/TAP TX queue length set to 100
Tue May 3 17:26:27 2011 /sbin/ip link set dev tun0 up mtu 1500
Tue May 3 17:26:27 2011 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Tue May 3 17:26:27 2011 /sbin/ip route add 10.8.0.0/24 via 10.8.0.2
Tue May 3 17:26:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue May 3 17:26:27 2011 Socket Buffers: R=[114688->131072] S=[114688->131072]
Tue May 3 17:26:27 2011 UDPv4 link local (bound): [undef]:1194
Tue May 3 17:26:27 2011 UDPv4 link remote: [undef]
Tue May 3 17:26:27 2011 MULTI: multi_init called, r=256 v=256
Tue May 3 17:26:27 2011 IFCONFIG POOL: base=10.8.0.4 size=62
Tue May 3 17:26:27 2011 IFCONFIG POOL LIST
Tue May 3 17:26:27 2011 Initialization Sequence Completed
But openvpn still won't start; where to go from here.
Please help guys.
More to come
Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use
Tue May 3 17:54:25 2011 Exiting
Last edited by dcatkin; 4th May 2011 at 01:00 AM.
-
4th May 2011, 02:22 AM
#2
Re: Openvpn Agony
Originally Posted by
dcatkin
Tue May 3 17:54:25 2011 TCP/UDP: Socket bind failed on local address 192.168.122.3:1194: Address already in use
Tue May 3 17:54:25 2011 Exiting
Like it says, address is already in use.
-
4th May 2011, 03:19 AM
#3
Re: Openvpn Agony
Yeah but even when I change the address it boesn't matter
-
4th May 2011, 04:21 AM
#4
Re: Openvpn Agony
service openvpn restart
or a combination of
service openvpn stop
service openvpn start
would be a first step. If that doesn't work do a netstat -pln |grep 1194 to see what job is actually currently using the port and take the appropriate action for it.
ps -elf will give you a list of jobs - look for openvpn. It does work on CentOS at least, so it will probably work on Fedora as well. Works as a client on Fedora at least.
Similar Threads
-
By Hersha in forum Servers & Networking
Replies: 5
Last Post: 20th April 2011, 12:32 AM
-
By jackbones in forum Using Fedora
Replies: 2
Last Post: 21st December 2009, 06:11 PM
-
By Nbnamp in forum Servers & Networking
Replies: 4
Last Post: 8th February 2008, 03:05 PM
-
By Nbnamp in forum Using Fedora
Replies: 1
Last Post: 8th February 2008, 10:22 AM
-
By echidna in forum Security and Privacy
Replies: 3
Last Post: 31st August 2005, 08:57 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]