Page 1 of 1

OpenVPN Setup on Linux help?

Posted: Sun Aug 07, 2011 2:09 pm
by majidemo
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?

Re: OpenVPN Setup on Linux help?

Posted: Sun Aug 07, 2011 3:02 pm
by Mimiko
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.

Re: OpenVPN Setup on Linux help?

Posted: Sun Aug 07, 2011 3:44 pm
by majidemo
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

Re: OpenVPN Setup on Linux help?

Posted: Sun Aug 07, 2011 3:55 pm
by Mimiko
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.

Re: OpenVPN Setup on Linux help?

Posted: Sun Aug 07, 2011 4:17 pm
by majidemo
Yes I have searched, I was just trying to get a few points from your view :)
Thanks...

I know what apt get does... :3

Re: OpenVPN Setup on Linux help?

Posted: Mon Aug 08, 2011 4:40 am
by Bebop
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.