Go to advanced search

by fcazorlasoler
Fri Apr 21, 2017 7:57 am
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

The problem was not really a problem!! It works perfectly (with the local statement commented) !! I was trying to connect to the openvpn server from my local wifi, and this does not work. ( I supose this is normal. I don't know) But today I tryed to connect form outside the wifi, and it works. The c...
by fcazorlasoler
Thu Apr 20, 2017 6:49 am
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

There was an error in my previous updates. I have verified the openvpn.log when the local statement is commented. There is no error message in the log, as you can see below, but port 1194 is still not opened. It seems not assigned to any ip, but I don't know raspbian enought to be sure of that. [lis...
by fcazorlasoler
Wed Apr 19, 2017 9:06 am
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

Also, I noticed the data in the openvpn.log is not updated correctly (from my point of view): -rw------- 1 root root 881 Apr 19 09:17 openvpn.log -rw------- 1 root root 232 Apr 19 10:16 openvpn-status.log If I do an openvpn --config /etc/openvpn/server.conf, then the data is correctly update (I don'...
by fcazorlasoler
Wed Apr 19, 2017 8:57 am
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

I reenter the data again, as I did it manually the first time, and may be any error on it. Now, it has been done with a copy/paste: command sudo netstat -tlnpu | grep 1194 udp 0 0 0.0.0.0:1194 0.0.0.0:* 418/openvpn command ps xauf | grep openvpn nobody 418 0.0 0.6 5528 2844 ? Ss 10:15 0:00 /usr/sbin...
by fcazorlasoler
Wed Apr 19, 2017 8:45 am
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

After the command sudo netstat -tlnpu | grep 1194 : udp 0 0 0.0.0.0:1194 0.0.0.0:* 418/openvpn After the command ps xauf | grep openvpn nobody 418 0.0 0.6 5528 2844 ? Ss 10:15 0:00 /user/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/...
by fcazorlasoler
Tue Apr 18, 2017 8:47 pm
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

I add the messages from the openvpn.log, with the local statement on server.conf (both commented and uncommented) The message on the openvpn.log (with local statement on server.conf) Tue Apr 18 21:30:19 2017 TCP/UDP: Socket bind failed on local address [AF_INET]192.168.0.157:1194: Cannot assign requ...
by fcazorlasoler
Tue Apr 18, 2017 4:03 pm
Forum: Troubleshooting
Topic: OpenVPN: Socket bind failed on local address
Replies: 23
Views: 12176

Re: OpenVPN: Socket bind failed on local address

Good evening, I'm Francisco Cazorla, from Barcelona. I'm a beginner with Raspberry and I'm in a trouble with my first project. I have a new PI 3 B, with Noobs 2.4.0 (and the last Raspbian version) I'm trying to build an VPN server with openvpn. I have been following the http://readwrite.com/2014/04/...

Go to advanced search