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.
ubuntu 12.04 ipsec server problem. Help needed
Hi
I follow this guide to setup IPSEC/L2TP https://raymii.org/s/tutorials/IPSEC_L2TP_vpn_with_Ubuntu_12.04.html
However, when I set it up in Windows as a client, I cannot connect to the server. I look at syslog, it says it is listening on port 1701
But using netstat -a , port 1701 is not open. xl2tpd do show up in ps -A.
So I am very confusing where is the problem.
Comments
What is the output of:
sudo ipsec verify
Try restarting them:
sudo /etc/init.d/xl2tpd restart
sudo /etc/init.d/ipsec restart
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.37/K3.2.0-39-virtual (netkey)
Checking for IPsec support in kernel [OK]
SAref kernel support [N/A]
NETKEY: Testing XFRM related proc values [OK]
[OK]
[OK]
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [OK]
Pluto listening for NAT-T on udp 4500 [OK]
Checking for 'ip' command [OK]
Checking /bin/sh is not /bin/dash [WARNING]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]
And I have restart them multiple times.
bump
seem fine
what is the problem? check the log
what is the problem? check the log
Yes. Log seems fine to me too. However, port 1701 is not listened.
share your xl2tpd.conf and ipsec.conf files
I didn't get on with L2TP/IPSec in Ubuntu. Much more straightforward in CentOS using the many guides around. The only way I could easily get L2TP/IPSec to work in Ubuntu was with SoftEther - search it in LET, @lincoln made a step-by-step guide at http://linc01n.github.com/blog/2013/03/19/softether-on-vps/
@dnwk i got it working with debian fine though
@mark softether is different, although it got l2tp but it's different. I don't think there's any problem in ubuntu and L2TP over IPSec
Sure you're not firewalling it?