Setting up a L2TP VPN server
im currently just testing and trying to setup a VPN on my home network using Centos 5.3 as the VPN server.
so far i have installed xl2tpd and openswan both will start with no errors and everything looks fine. i have configured a windows XP desktop to connect to the linux server using CHAP authentication and L2TP/PPP and setup the IPsec PSK pass phrase. but it fails to connect. i have used wireshark to confirm that it is sending to the right IP and it is trying to connect to UDP port 500. i then checked on my linux box with netstat -ln | grep :500 Code:
udp 0 0 127.0.0.1:500 0.0.0.0:* so if anyone could help that would be great Thanks Scott. |
Wonder if 1701 needs to be open?
|
yep that was a problem i have resloved most of the problems so far.
i have got a bit stuck with PPP and CHAP i have setup windows right (i think) and i removed authentication and it worked and the VPN established but when i put it on and run xl2tpd in debug mode xl2tpd -D Code:
xl2tpd[9766]: Enabling IPsec SAref processing for L2TP transport mode SAs /etc/ppp/chap-secrets contains: Code:
# Secrets for authentication using CHAP Code:
[global] Code:
ipcp-accept-local Thanks Scott. |
|
help!
i`m facing the same question with you on the problem about xl2tp ...have you get it through? would you give me some advises about it and send it an email (6414344322@qq.com),if u are convenient ....thank u very much...
|
Another Example for xL2TP + VPN
Here is another good example of how to get xl2tp to work with OpenSwan
L2TP OpenSwan Example |
All times are GMT -5. The time now is 05:42 PM. |