New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
@guyusoftware I am afraid it could be an kernel related issue.
Are you sure that the iptable_nat module is listed in your /etc/vz/vz.conf?
Something to check.
@DannyAlex I am also afraid that if there is an issue related to ovzkernel. Fortunately, there only occur vpn problem.
@Wintereise already in it.
Do you have the PPP kernel module enabled on the host node ? There's a guide to do it on the openvz wiki.
@SpeedBus Already enabled. Everything settings seem alright now but also has problem.
[root@test ~]# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
[root@test ~]# cat /dev/ppp
cat: /dev/ppp: No such device or address
Run those two commands on the CT to create the PPP device, it's not magically created.
@Wintereise already....
There are a few scripts floating around to setup those VPNs on OVZ.
You may wish to look at one of them to see what it does.
If those commands were run, something would at least exist at /dev/ppp.
You're doing something wrong. What that is, well, rather hard to say without having any idea.
cat: /dev/net/tun: File descriptor in bad state
[root@test ~]# cat /dev/ppp
cat: /dev/ppp: No such device or address
Tun is enabled, PPP is not.
They both are different, Tun = OpenVPN and PPP = PPTP.
Try This,
On Host Node,
Then,
You should see the following (in any order is okay)
After which (One by One, In order)
Now to see if it works,
Then,
You'll see some text like,
This will go on for about 30 seconds and then you will be returned to a command prompt. If there is an error message instead, something went wrong.
@SpeedBus Thanks a lot. Okay now.
No probs