Skip to content

Create a VPN in Packet Tracer

This is a brief “Sample configuration”, to create a VPN in the Packet tracer v5.3

Step 1: Add two routers 2811

Step 2: Here are the configuration files.

And the Second Configuration :

This works perfectly, and it is a good start for someone who wants to create a VPN on Packet tracer. It is also possible to Implement GRE tunnels since the Version 3.2 ( if I remember well)

Have fun with it.

{ 31 } Comments

  1. Adri | 26 January 2011 at 19 h 26 min | Permalink

    t’oses appeler ├ža un tuto :O c’est plus un config sample qu’un tuto m’gamin ^^

  2. wajdan | 27 January 2011 at 10 h 13 min | Permalink

    thanx for the tutorial .. i found few others on …why dont u ad your tuts there :)

    thanx :)

  3. Noktec | 28 January 2011 at 19 h 14 min | Permalink

    I’ve modified the title ;)

  4. Germain MWEHA | 1 March 2011 at 11 h 24 min | Permalink

    je voulais juste avoir les informations sur la configuration des VPN avec Packet Tracer

  5. Noktec | 1 March 2011 at 12 h 00 min | Permalink


    Why did you post your comment on the Python page and not on Packet tracer ?
    anyway, what do you wanna do with packet tracer ?

  6. john33 | 23 March 2011 at 0 h 35 min | Permalink

    How you use the VPN server from the client?

    what do you put as username and password??

    what do you put as Groupname, key and server ip????

  7. Noktec | 24 March 2011 at 0 h 10 min | Permalink

    You don’t use it from the clients, the VPN is established between the 2 routers.

    and actually the password is “cisco”
    but on real routers you have more options ! and if you use routing you also need to use GRE tunnels :)

  8. Danilo Bellace | 13 November 2011 at 6 h 11 min | Permalink

    Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specifically the last part :) I care for such info a lot. I was seeking this certain information for a very long time. Thank you and best of luck.

  9. wala | 26 March 2012 at 14 h 39 min | Permalink

    can you put haw to configurate an easy VPN betwin client and site VPN :D and thanks

  10. Noktec | 29 March 2012 at 20 h 06 min | Permalink

    I’m sorry, but no I wont, but from this example you should be able to figure it out.

  11. faezeh | 18 May 2012 at 12 h 38 min | Permalink

    nice post
    sry i am not familier with packet tracer and i need this project.would u please send this project to my mail?i install packet tracer and i tried to make this project by myself but i couldnt:((
    plzzzz send this to my mail thank youuu@};-

  12. Noktec | 30 May 2012 at 18 h 09 min | Permalink

    I will not do your work !
    I can give you some hints but not work for you.

  13. John | 7 June 2012 at 16 h 11 min | Permalink

    It’s perfect and worked but I want to know how to set VPN via PC, I mean (I have packet tracer version 5.3) when I accessed the Desktop -> VPN configuration using the pc and appear “the GroupName”, “GroupKey”, “Host IP (Server IP)”, “Username” and “Password”…and my question is – What should I enter in these fields to establish the connection?

  14. Noktec | 8 June 2012 at 15 h 14 min | Permalink

    Basically in this case the VPN is established between the two routers and not between the computers, so in this case, everything that the computer sends on the wire is not into a VPN (until it reaches the router) then when reaching the second routeur the VPN ends and the packets are un-encrypted and transmitted to the second computer !

  15. hamid | 29 August 2012 at 10 h 11 min | Permalink

    tnx a lot.
    this learning was perfext …

  16. yaro | 8 October 2012 at 15 h 11 min | Permalink

    tres cool

  17. engr khalid | 17 October 2012 at 16 h 28 min | Permalink

    can you provide the thesis of this vpn project

  18. Noktec | 17 October 2012 at 16 h 39 min | Permalink

    There was no thesis done, it’s a simple example that I implemented.

  19. Tameem Ahmed | 13 November 2012 at 21 h 06 min | Permalink

    if i have 2 more routers in between the 2 vpn routers. would the code be the same?? i mean, how will be the configuration of the two vpn routers when there are multiple routers between them with Dynamic Routing protocols. If you know the solution, Please Help.

  20. Noktec | 13 November 2012 at 21 h 22 min | Permalink

    If you have dynamic routing protocols you will probably have to create a GRE tunnel between the two end point routers and then establish the VPN inside the GRE tunnel.

  21. craig | 3 December 2012 at 11 h 47 min | Permalink

    Thanks for the tut!
    Is it possible to do GRE IPsec tunnel configs in packet tracer 5.3.3? it seems you cannot adjust mtu or mss. Thanks!

  22. Noktec | 3 December 2012 at 19 h 26 min | Permalink

    Actually some functionalities are disabled, so I believe that you could check that information directly on the packet tracer’s website where they probably published all the included functionalities related to GRE.

  23. Mzwakhe | 16 January 2013 at 14 h 33 min | Permalink

    yaeh i see but i think other features are not here. thanks a lot for your project we have benefited a lot

  24. anjam hamed | 27 April 2013 at 23 h 46 min | Permalink

    sir please help me project on site to site vpn implimention on GNS3 softwere.

  25. Noktec | 28 April 2013 at 19 h 57 min | Permalink

    Dear Anjam,

    There are plenty of tutorials available in Google !

  26. Lucky | 2 August 2013 at 10 h 55 min | Permalink

    Need help with possible projects that can be created using packet tracer…advice ….

  27. Noktec | 3 August 2013 at 16 h 08 min | Permalink

    I’m sorry,

    But you don’t even posted a question ! If you need something done, you can still hire me for a consultancy job.

  28. jay_013 | 29 December 2013 at 18 h 06 min | Permalink

    Great thing.. in a normal ipsec site to site vpn without GRE you wouldn’t need static routes right? just your config shows them?

  29. Noktec | 7 January 2014 at 14 h 21 min | Permalink

    Yes, no need for them.

  30. mehrnaz | 15 April 2014 at 11 h 57 min | Permalink

    hi, i am a student of information security and my project is about create vpn in packet tracer v6 and unfortunately i dont know any about packet tracer and the dead line is august, can i learned it in the short time, please help me to manage this. thanks

  31. Noktec | 5 May 2014 at 13 h 27 min | Permalink

    You definitely have enough time to learn about it yourself !

Post a Comment

Your email is never published nor shared. Required fields are marked *