Linux VPN Guide | Go Back
12) Windows XP client setup and configuration
a) Right click on “My Network Places” on your desktop and click on “Properties”.

b) When the window comes up, double click on “New Connection Wizard”.

c) Click “Next”, select “Connect to the network at my workplace and click “Next”.


d) Select “Virtual Private Network connection and click “Next”.

e) Type the name of the connection in “Company Name” field and click “Next”.

f) Type the external IP address of the VPN server in “Host name or IP address” field and click “Next”.

g) Select “My use only” and click “Next”.

h) Click “Finish” to close the wizard.

i) “Connect” window will come up.

j) Click on “Properties” button on the bottom and select the “Security” tab on top.

Hi
It is the most comprehensive document on VPN which I have come across and everything worked fine on RHEL5 and it is functioning in it’s first attempt :-) thanks for everything
dillip
I followd all of youre steps and while connecting from XP with SP2 i get error no. 721 after saying verifying username and passwod. can you trace what is my my error
hi to all,
I need help in creating a vpn connection between winxp and fedora where fedora is acting as server while winxp is client.
on server openswan is installed while using l2tp ipsec vpn on windows.
my mail id : techsolnltd at gmail dot com
Regards
may i know howto IPsec work at ur VPN configuration??
for my thesis :D thank
do you have VPN Linux configuration with radius as database authentication?
Hello Ian if you speak Spanish i will help you with your VPN (L2TP with IPsec)
would you like to give me flow chart to descript your VPN (L2TP with IPsec)…???
i hope you will help me….tahnx before.-ian- (sorry, if my english is not good :D )
hi
Thanks for your help;your guide I help myself much.
Thanks again
hi
when i first saw your name i guess that you are iranian ( as i am iranian).
i comment here to say that your guide help me a lot. but i am writing a guide in persian
for debian release and i want to use some part of your articles.
Do u know persian?
can use your article in my guide?
tanx
its an honor for me if you came to my very very small weblog. tanx again
How can I configure this with windows 2000, and some other versions of windows??
hello everyone
this guide just rocks
can any body guid me how we can configure l2tpd/ipsec client for linux machine
thanks
Simple reporting for the L2TPD/IPSEC VPN Server
1. place the following script in your /etc/cron.hourly directory
#————————————————————————-
#!/bin/sh
# retrieve date in 3 letter form and assign the value to DTNOW
DTNOW=`date`
# retrieve date in 3 letter form and assign the value to P1
P1=`date +%b`
# retrieve day of the month in leading space removed format and assign it to P2
P2=`date +%e`
# retrieve Hour in 24 format and assign it to P3
P3=`date +%H`
# retrieve the integer value of P3 and decrement it by one because
# the script is run hourly and searches for the last hour access
P4=`expr $P3 - 1`
# Create a file in the /tmp directory
# a randomly named file
echo > /tmp/k30fsf98.log
echo -e “VPN Connections made from $P4:00 to $P3:00 on $DTNOW and closed\r\n”>> /tmp/k30fsf98.log
echo -e “Total Number of Connections: \r\n” >> /tmp/k30fsf98.log
grep “$P1 $P2 $P4″ /var/log/messages | grep “name = ” | grep Response | wc -l >> /tmp/k30fsf98.log
echo -e “Connection details: \r\n” >> /tmp/k30fsf98.log
grep “$P1 $P2 $P4″ /var/log/messages | grep “name = ” | grep Response >> /tmp/k30fsf98.log
echo -e “\r\n” >> /tmp/k30fsf98.log
grep “$P1 $P2 $P4″ /var/log/messages | grep “Connection closed” >> /tmp/k30fsf98.log
echo -e “\r\n” >> /tmp/k30fsf98.log
grep “$P1 $P2 $P4″ /var/log/messages | grep “: Connect time” >> /tmp/k30fsf98.log
cat /tmp/k30fsf98.log | mail -s “Hourly VPN log from $P4 and $P3 on $DTNOW” SOME_EMAIL@SOME_DOMAIN.COM
#—————————————————————————
2. Replace SOME_EMAIL@SOME_DOMAIN.COM with the email that is supposed to receive the hourly access report.
HOSSEIN
This is perfect but to install a VPN server in fedora core5 you do not have to patch l2tpd.
Just yum that with
yum install l2tpd
yum install Openswan
and follow the same configuration options.
Thanks
Thanks for this guide.I m able to stablish vpn connection but only one client can access the server.I have already add the client in /etc/ppp/chap-secrets.But it can’t work.How can I give permission to unlimited access(client)?
Wonderful web site, for VPN solution.
Not work whit shorewall 3.x firewall, any idea for configuring?. Read a wiki shorewall, but not a clear info for this pruposes. Help please, thanks.-
Thanx for this great howto! Building a VPN server has never been so simple. But I have a little problem getting my connections to work. I used your ipsec.conf, and only changed the relevant IP-addresses. Now every time I try to connect from some remote computer, I get an error message (in /var/log/messages) saying “cannot respond to IPsec SA request because no connection is known for [my PUBLIC ip-address]/32===[local IP of my VPN server]:17/1701…[public IP of remote computer][@Username]:17/1701″. The server then sends an encrypted notification INVALID_ID_INFORMATION to the remote computer.
What am I doing wrong? Could you please help me?
hi there,
this guide is works!
everything is going fine, but i still have a bug,
why this vpn cannot connect multiple user to server?
i mean if im logged in and my friend wants to connect too, he cant connect
im checking tail -f /var/log/secure and /var/log/mesages no indicator that my friend is rejected
although we use different user?
any one have same problem with me?
any one help me?
:’(
thanks
jhony, I ran into the same problem where %defaultroute was bombing on me when starting the service. The problem was the indentation of ipsec.conf was not showing properly within the instructions. The instructions look to be updated now.