OpenVPN Setup on Linux help?

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
majidemo
OpenVpn Newbie
Posts: 3
Joined: Sun Aug 07, 2011 2:06 pm

OpenVPN Setup on Linux help?

Post by majidemo » Sun Aug 07, 2011 2:09 pm

Hey, can any one help me setup a openvpn on my host?

I have tried following a few guides, but I get alot of errors.
If someone is willing to do it for me, please give me a pm. Thanks.

about the errors,

www:~# iptables -t nat -A POSTROUTING -s 10.3.0.0/24 -o eth0 -j MASQUERADE
FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory
iptables v1.3.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

:( why is that?

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN Setup on Linux help?

Post by Mimiko » Sun Aug 07, 2011 3:02 pm

Oh, sorry to say, your Debian installation is corrupted. First try check HDD and file system, then get updated. Try update iptables, which will show you what modules are wrong.

majidemo
OpenVpn Newbie
Posts: 3
Joined: Sun Aug 07, 2011 2:06 pm

Re: OpenVPN Setup on Linux help?

Post by majidemo » Sun Aug 07, 2011 3:44 pm

Thanks, could you tell me how to update my Debian installation?
I'm not really a sysad or anything.

THe info I can givem
uname -a: Linux www 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: OpenVPN Setup on Linux help?

Post by Mimiko » Sun Aug 07, 2011 3:55 pm

I will not help you with correcting Debian problems - I more know about Windows. But on quick search (that you also could have done) shows using "aptitude" - a textual GUI from Debian wich will update what you want.

majidemo
OpenVpn Newbie
Posts: 3
Joined: Sun Aug 07, 2011 2:06 pm

Re: OpenVPN Setup on Linux help?

Post by majidemo » Sun Aug 07, 2011 4:17 pm

Yes I have searched, I was just trying to get a few points from your view :)
Thanks...

I know what apt get does... :3

User avatar
Bebop
Forum Team
Posts: 301
Joined: Wed Dec 15, 2010 9:24 pm

Re: OpenVPN Setup on Linux help?

Post by Bebop » Mon Aug 08, 2011 4:40 am

Some good info here about removing a kernel.

Just be prepared to lose all your data in case it goes south.

You also want to get a replacement kernel.

First do this:

Code: Select all

nano /etc/apt/sources.list
See if you have Lenny, Squeeze, or Wheezy.

I suggest, change it to Wheezy, then:

Code: Select all

apt-get dist-upgrade
^...to get the latest distro installed and hopefully a complete Kernel.

As I said above, do be prepared for system failure, just in case something goes wrong. never seen it go badly myself, but its a standard warning anyways.

I had this problem you got before. So long ago now, not sure if I fixed it, or changed my server provider (it might be a virtualization problem, openVZ etc).
Try the Wheezy / dist-upgrade suggestion regardless.
The cure for boredom is curiosity

Post Reply