View Full Version : [ubuntu] Vpn
bigboy7foru
September 10th, 2009, 05:31 PM
Has anyone Built one before?
I need assistance!!!
ainsworth_t
September 10th, 2009, 06:20 PM
I've actually been reading around on the subject the past few days. Still feel a little lost, but picking up some of it.
What are you needing the VPN to do? i.e for roadwarriors or bridge two subnets? Also what type (IPSec, SSL, PPTP) are you looking to implement?
bigboy7foru
September 10th, 2009, 06:30 PM
Both roadwarriors and bridge two subnets.
We are running it on ssl
just having a few problems getting it up and established
ainsworth_t
September 10th, 2009, 06:32 PM
just having a few problems getting it up and established
...such as?
bigboy7foru
September 10th, 2009, 06:36 PM
we were getting a prompt that says:
Can not write openvpn server sysinit script here:
/etc/rc.d/init.d/gadmin-openvpn-server
and we did a command line thing to fix it but now it does nothing
ainsworth_t
September 11th, 2009, 02:12 AM
How did you install it? Did you install OpenVPN from the Ubuntu repositoris or did you download and install the access server .deb from the OpenVPN site?
bigboy7foru
September 11th, 2009, 02:25 PM
OK we installed GADMIN from Synaptic
we made the certificates and have it almost running now but we ran into a hicup
we have an error: TCP/UDP: Socket Bind failed on local address 216.253.219.22:1194: Cannot assign requested address
thefunnyman
September 11th, 2009, 04:20 PM
OK we installed GADMIN from Synaptic
we made the certificates and have it almost running now but we ran into a hicup
we have an error: TCP/UDP: Socket Bind failed on local address 216.253.219.22:1194: Cannot assign requested address
Make sure that openvpn isn't running and currently using that port. I bet that's what's going on.
HTH
bigboy7foru
September 11th, 2009, 06:12 PM
Well we shut down the machine several time and it keeps geting that error... would it still be open if we shut the computer down??
ainsworth_t
September 14th, 2009, 02:47 PM
Usually when a service is installed on Linux, it creates an autostart script so the service will start at bootup. Therefore, whenever you reboot the box, it will start up again. Instead of bringing down the entire system, try stopping the service
sudo /etc/init.d/openvpn stop
bigboy7foru
September 15th, 2009, 02:20 PM
Would that give me that error i posted above?
ainsworth_t
September 16th, 2009, 12:28 PM
That I'm not sure of. You're problem is probably outside my understand now. Have you tried using the ubuntu community documentation as a guide for your setup? https://help.ubuntu.com/community/VPNServer
bigboy7foru
September 16th, 2009, 03:12 PM
no but ill try it thanks
That I'm not sure of. You're problem is probably outside my understand now. Have you tried using the ubuntu community documentation as a guide for your setup? https://help.ubuntu.com/community/VPNServer
bigboy7foru
September 25th, 2009, 04:02 PM
so its stil not fixed i have gotten alot more done since last time but im not sure
thefunnyman
September 25th, 2009, 04:09 PM
so its stil not fixed i have gotten alot more done since last time but im not sure
reboot the machine and post the output of the following commands:
sudo netstat -tnap
and
dmesg
Maybe that will help figure out what the heck is going on...
bigboy7foru
September 25th, 2009, 04:24 PM
ok im rebooting nowopenvpn Cannot assign requested address
thefunnyman
September 25th, 2009, 04:54 PM
ok im rebooting nowopenvpn Cannot assign requested address
and the output of the commands I posted?
bigboy7foru
September 29th, 2009, 03:31 PM
and the output of the commands I posted?
i lost all internet connections
i was gone this weekend but am trying to restore them
El Menda
January 5th, 2011, 08:18 AM
OK we installed GADMIN from Synaptic
we made the certificates and have it almost running now but we ran into a hicup
we have an error: TCP/UDP: Socket Bind failed on local address 216.253.219.22:1194: Cannot assign requested address
I know it's late, but I solved this error commenting in openvpn.conf the line:
local #.#.#.#
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.