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.


Pages: 1 2 3

Posted by MegaZ on 01/28/2005.

39 Responses to “Linux VPN Guide”


  1. dillip says:

    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

  2. Bal Krishna says:

    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

  3. Nitin says:

    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

  4. dierque says:

    may i know howto IPsec work at ur VPN configuration??
    for my thesis :D thank

  5. mike says:

    do you have VPN Linux configuration with radius as database authentication?

  6. Rejeth says:

    Hello Ian if you speak Spanish i will help you with your VPN (L2TP with IPsec)

  7. ian says:

    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 )

  8. Rejeth says:

    hi
    Thanks for your help;your guide I help myself much.
    Thanks again

  9. 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

  10. Ismael Gongora says:

    How can I configure this with windows 2000, and some other versions of windows??

  11. Shahid Bashir says:

    hello everyone

    this guide just rocks

    can any body guid me how we can configure l2tpd/ipsec client for linux machine

    thanks

  12. Hossein Labbaf says:

    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

  13. Sajjad says:

    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

  14. sharmin says:

    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)?

  15. rana tanveer says:

    Wonderful web site, for VPN solution.

  16. Dehylus says:

    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.-

  17. speedy says:

    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?

  18. Didi says:

    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

  19. tmichals says:

    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.


Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Powered by WP Hashcash