Results 1 to 17 of 17
-
11-24-2010, 12:11 AM #1Newbie
- Join Date
- Oct 2010
- Posts
- 12
openVPN on openVZ with CentOS 5.5
I have contacted my company with setting up TUN/TAP and they say it is setup
I am still getting this error:
Code:Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: ['iptables-restore: line 62 failed']: python/context:37,internet/epollreactor:223,internet/posixbase:191,internet/process:260,internet/process:762,internet/process:775,internet/_baseprocess:60,svc/pp:116,svc/svcnotify:26,internet/defer:238,internet/defer:307,internet/defer:323,sagent/ipts:105,sagent/ipts:39,util/error:52,util/error:32 service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn']) service failed to start due to unresolved dependencies: set(['iptables_openvpn'])
-
11-24-2010, 06:00 AM #2WHT Addict
- Join Date
- Jan 2010
- Posts
- 114
Check out http://wiki.openvz.org/VPN_via_the_TUN/TAP_device and see if it gives you anything you can use
Francis | Good with Linux
Buzz word downsizing advocate
-
11-24-2010, 07:22 AM #3Web Hosting Master
- Join Date
- Sep 2002
- Location
- London/Edinburgh
- Posts
- 1,131
What does the command modprobe tun bring up?
█ Europhase UK Limited - XEN/OpenVZ UK/US Virtual Private Servers | R1Soft Backups for Web Hosts
█ Custom R1Soft Backups | UK/US Web Hosting | UK/US Virtual Private Servers
█ 99.9% Uptime SLA | Non Overloaded Service | Guaranteed Ram / Resources
█ Company: SC345142 VAT: GB-947754180 Tel: 0870 4710 895
-
11-24-2010, 10:08 AM #4Newbie
- Join Date
- Oct 2010
- Posts
- 12
-
11-24-2010, 10:14 AM #5Web Hosting Master
- Join Date
- Sep 2002
- Location
- London/Edinburgh
- Posts
- 1,131
This clearly shows that TAP/TUN is not setup. Get back in touch with your host.
█ Europhase UK Limited - XEN/OpenVZ UK/US Virtual Private Servers | R1Soft Backups for Web Hosts
█ Custom R1Soft Backups | UK/US Web Hosting | UK/US Virtual Private Servers
█ 99.9% Uptime SLA | Non Overloaded Service | Guaranteed Ram / Resources
█ Company: SC345142 VAT: GB-947754180 Tel: 0870 4710 895
-
11-24-2010, 11:42 AM #6Newbie
- Join Date
- Oct 2010
- Posts
- 12
cat: /dev/net/tun: File descriptor in bad state
So apparently TUN/TAP is on
What else could it be?
-
11-24-2010, 11:44 AM #7Web Hosting Master
- Join Date
- Jan 2008
- Location
- Jax, FL
- Posts
- 2,707
-
11-24-2010, 11:48 AM #8Newbie
- Join Date
- Oct 2010
- Posts
- 12
-
11-24-2010, 11:50 AM #9Web Hosting Master
- Join Date
- Jan 2008
- Location
- Jax, FL
- Posts
- 2,707
That is why you are having troubles -- OpenVPN-AS (OpenVPN Access Server) requires additional iptables modules to be loaded on the hostnode. OVPN-AS is also not free.
You should download the community version, which, I believe, is at version 2.0.9, but I may be off on that.
EDIT: just checked -- it is at version 2.1.4 for stable. You can get it here: http://www.openvpn.net/index.php/ope...downloads.html
You can also get 2.0.9 in the RPMForge repository.
-
11-24-2010, 11:51 AM #10Web Hosting Master
- Join Date
- Sep 2002
- Location
- Chicago, Illinois
- Posts
- 884
OpenVPN AS is free for two users AFAIK.
Neosurge Web Services since 2002
Neosurge VPS Hosting
-
11-24-2010, 11:51 AM #11Newbie
- Join Date
- Oct 2010
- Posts
- 12
Which version should I download from here?
http://www.openvpn.net/index.php/ope...downloads.html
And how do I remove openVPN
-
11-24-2010, 11:53 AM #12Web Hosting Master
- Join Date
- Jan 2008
- Location
- Jax, FL
- Posts
- 2,707
-
11-24-2010, 11:57 AM #13Web Hosting Master
- Join Date
- Aug 2009
- Posts
- 3,207
█ ControlVM.com :: Elastic Cloud Hosting Alternatives to VPS ● Reliable Cloud Server
█ Enterprise Hosting @ Malaysia ● Germany ● USA ● Singapore
We Accept: Paypal ● Alipay ● GrabPay ● Credit/Debit Card ● FPX Bank Transfer ● Bank TT
-
11-24-2010, 12:00 PM #14Newbie
- Join Date
- Oct 2010
- Posts
- 12
error: package openvpn-as-1.5.6-CentOS5.i386.rpm is not installed
Gosh this is annoying
I just installed openVPN yesterday.
Well I will go Google how to remove openVPN
How do I add RPMForge repo to yum
I don't have access to the node
I am with 123systems.net right now
-
11-24-2010, 12:02 PM #15Web Hosting Master
- Join Date
- Jan 2008
- Location
- Jax, FL
- Posts
- 2,707
Try just this --
rpm -e openvpn-as
http://dag.wieers.com/rpm/FAQ.php#B1
There is a guide on RPMForge... Once you have it installed, just run "yum install openvpn"
-
11-24-2010, 12:04 PM #16Newbie
- Join Date
- Oct 2010
- Posts
- 12
-
11-26-2010, 05:25 AM #17Newbie
- Join Date
- Dec 2009
- Posts
- 13
http://www.webhostingtalk.com/showpo...3&postcount=19
openvpn-as does not work on openvz vps's correctly, use the community version
Similar Threads
-
Setting up Openvpn on OpenVZ
By vpsbuster in forum VPS HostingReplies: 13Last Post: 09-07-2011, 12:54 PM -
Setup openvpn on openvz
By total_assault in forum Employment / Job OffersReplies: 8Last Post: 03-23-2010, 03:22 AM -
OpenVPN with OpenVZ
By newbie_security in forum VPS HostingReplies: 7Last Post: 01-08-2010, 07:53 AM -
OpenVPn wif openvz
By chaotix in forum Hosting Security and TechnologyReplies: 4Last Post: 08-18-2009, 03:54 AM -
openvz port and openvpn
By robocap in forum Hosting Security and TechnologyReplies: 14Last Post: 05-17-2008, 02:11 PM