VPN

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:28, 28 December 2005 (edit)
84.135.227.174 (Talk)

← Previous diff
Revision as of 19:09, 25 March 2020 (edit) (undo)
Malachi (Talk | contribs)

Next diff →
(44 intermediate revisions not shown.)
Line 1: Line 1:
-DoC_DaR says in thread: http://forum.bsr-clan.de/viewtopic.php?p=23607+Follow the guide here as most of this page is obsolete [https://wiki.dd-wrt.com/wiki/index.php/OpenVPN]
-On DD-WRT, set pptp server to active, set IP of router (192.168.1.1),+=Security=
-set range for connections(192.168.1.20-29) example of ten client set up.+
-Set up Chap Secret ex. ( testmachine * password1234 *) All done here. ( The "*" are NOT a Placeholder, they must be there ! )+Interesting article about strength and security of PKI today [http://www.pro-linux.de/news/1/20246/roeckx-aktueller-stand-der-kryptografie.html Pro-Linux (german)]
-Goto PC and select Create new Connection in Network Connection area. +=VPN with PPTP=
-Select Connect to Network at my Workplace, select Virtual Private Connection, give it a name (home link). +On DD-WRT, go to the Administration->Services and set PPTP server to active, save the changes, then set the IP of router (192.168.1.1) for the server IP, and under Client IP(s) set a range for connections. (192.168.1.20-29 for example of a ten client set up)
-Select what applies, dial up or LAN. Type WAN IP address (10.28.44.71) Must be static address. [loxza says that s/he has had luck with dynamic IP using dyndns.org]+Under Chap Secret put in <code>username * password *</code> for example: <code>testmachine * password1234 *</code> ( The "*" are NOT a Placeholder, they must be there ! ) Use no capital letters. Also avoid using the # character since this breaks pptp. (This also applies to the router administration password that is included by default in the password file for pptpd.)
-Then at connect window, type name and password (testmachine password1234). Use no capital letters. +Now on your PC select Create new Connection under Control Panel -> Network Connections.
 +Select Connect to Network at my Workplace, then select Virtual Private Connection, give it a name (home link). Select what applies, dial up or LAN. Type the WAN IP address of your router, it must be static address or an address through DynDNS.org or the likes. (Thanks loxza)
-There is more info on winxp VPN at <[http://www.microsoft.com]> under PPTP VPN. +Then at connect window, type the username and password you used earlier under Chap Secret (in our example: <code>testmachine:password1234</code>). Use no capital letters.
-If you have Problems to see your Neighbourhood or Programs like VNC,Remote Desktop are not working, than you should Disable the Loopback Adapter under Management.asp in your Router. If it does not work, than it is also useful to edit your new VPN Connection under Properties TCP/IP - Advanced - and select use Standard Gateway of the Remote Network. With this Option you are full inside the Routers Network, all Traffic include your Surfing is than over your VPN Connect. With both Settings, you are full integrated in the Remote Lan.+If you have followed the above steps and still cannot connect to the VPN, try forwarding the PPTP Port (1723) with TCP protocol to the LAN IP Address of your router (i.e. 192.168.1.1). Although it seems like this is a weird approach since you are using your router to forward to itself, it often times allows the VPN connection to suceed.
-Good Luck.+For more information on setting up a VPN connection in Windows XP see [http://support.microsoft.com/default.aspx?scid=kb;en-us;305550&sd=tech this article].
 + 
 +For other Windows versions see [http://support.real-time.com/windows/vpn/windows_98_vpn.html this link].
 + 
 +If you have Problems to see your Network Neighbourhood or Programs like VNC and Remote Desktop are not working, then you should Disable the Loopback Adapter under Administration -> Management in your Router. If this does not work, then it is also useful to edit your new VPN Connection under Properties -> TCP/IP -> Advanced -> and select Use Standard Gateway of the Remote Network. With this Option you are fully inside the Router's Network, all Traffic include your Surfing is then over your VPN Connect. With both Settings, you are fully integrated in the Remote LAN.
 + 
 +=See also=
 +* [[OpenVPN]]
 +* [[OpenVPN Remote Access by Static Key (The Simple Way)]]
 +* [[VPN (the easy way) v24+|VPN Server Setup]]
 +* [[Wireguard]] "is an extremely simple yet fast and modern VPN"
 + 
 +=External Links=
 +*[http://www.macdevcenter.com/pub/a/mac/2002/12/20/vpn.html VPN on Mac OSX]
 +*[http://www.overplay.net/blog/dd-wrt-overplay-pptp/ PPTP VPN to OverPlay.net]
 +*[https://ironsocket.com/setup/ddwrt-router Setup OpenVPN Connect, PPTP, L2TP and Smart DNS Proxy using DD-WRT with IronSocket]
 + 
 +[[Category:Tunneling]]

Revision as of 19:09, 25 March 2020

Follow the guide here as most of this page is obsolete [1]

Contents

Security

Interesting article about strength and security of PKI today Pro-Linux (german)

VPN with PPTP

On DD-WRT, go to the Administration->Services and set PPTP server to active, save the changes, then set the IP of router (192.168.1.1) for the server IP, and under Client IP(s) set a range for connections. (192.168.1.20-29 for example of a ten client set up)

Under Chap Secret put in username * password * for example: testmachine * password1234 * ( The "*" are NOT a Placeholder, they must be there ! ) Use no capital letters. Also avoid using the # character since this breaks pptp. (This also applies to the router administration password that is included by default in the password file for pptpd.)

Now on your PC select Create new Connection under Control Panel -> Network Connections. Select Connect to Network at my Workplace, then select Virtual Private Connection, give it a name (home link). Select what applies, dial up or LAN. Type the WAN IP address of your router, it must be static address or an address through DynDNS.org or the likes. (Thanks loxza)

Then at connect window, type the username and password you used earlier under Chap Secret (in our example: testmachine:password1234). Use no capital letters.

If you have followed the above steps and still cannot connect to the VPN, try forwarding the PPTP Port (1723) with TCP protocol to the LAN IP Address of your router (i.e. 192.168.1.1). Although it seems like this is a weird approach since you are using your router to forward to itself, it often times allows the VPN connection to suceed.

For more information on setting up a VPN connection in Windows XP see this article.

For other Windows versions see this link.

If you have Problems to see your Network Neighbourhood or Programs like VNC and Remote Desktop are not working, then you should Disable the Loopback Adapter under Administration -> Management in your Router. If this does not work, then it is also useful to edit your new VPN Connection under Properties -> TCP/IP -> Advanced -> and select Use Standard Gateway of the Remote Network. With this Option you are fully inside the Router's Network, all Traffic include your Surfing is then over your VPN Connect. With both Settings, you are fully integrated in the Remote LAN.

See also

External Links