• TslMarket.com
  • Whiskey PC

Cameron Moten

Info / Blog

DDWRT – PPTP Vpn Setup and Internet Fix

November 15, 2016 by Cam

This is a guide to set up a DDWRT router with a PPTP VPN, that will be able to use both your Local Network and can reach the Internet.
DDWRT Version: V3.0-r30796 on a Linksys WRT1200AC

Note: PPTP is not secure, and I suggest you to use OpenVPN. However, for this case the hardware I was using only supported PPTP.

1) Login to your Router via its IP Address. Usually DDWRT is http://192.168.1.1/ but yours may be different.

(You can open Command Prompt in Windows and type “ipconfig” to find your Router’s IP address under “Default Gateway”)
step1
Copy the settings as shown, the DNS servers are set to Google’s (8.8.8.8 and 8.8.4.4)

Customize the UserName and Password in a format such as
“username * password *”
Example:

cameronmoten * bigpassword123 *


[Advanced]

You may want to customize the Server IP / Client IPs. If any devices on the network use those IP addresses, otherwise leave them as such.

2) Save your settings, and apply them to the router.

Now lets, enable internet access for PPTP users.

In Administration > Commands copy paste these lines into the Text Box.
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE

commandsetup
Then Click > “Save Firewall” and your server will reboot!

3) Lets Try it out!

Then get your Public IP Address. From a site such as http://whatismyipaddress.com/

Then connect to your PPTP VPN, and enjoy!

Having issues connecting?
– Make sure In DDWRT you allow PPTP passthrough (Inside of Security > VPN Passthrough)
PPTP Passthrough enable

[Secure your Router]
Turn on the firewall and enable DoS/BruteForce protection.
securerouter

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
Posted in: Common Issues, DDWRT Tagged: DDWRT, PPTP, Router, SETUP, VPN

Cameron Moten

Working @ Dropbox
Previous: SpaceX, GD-AIS, Microsoft
Linked In

Pages

  • TslMarket.com
  • Whiskey PC

Recent Posts

  • True NAS Scale – Setting up a Bridge Network for VM’s
  • AllOutCoin – Open Source Crypto Exchange Tracker
  • RSACryptoServiceProvider – Create a SSH-RSA Public Key
  • Fixing: Xamarin with .Net Standard in Visual Studio 2017 v.15.3
  • [NetSec] Opensource Adware – Avoiding Search Engine Scanning

Categories

  • Common Issues
  • DDWRT
  • Misc
  • Tips
  • Uncategorized
  • Xamarin

Copyright © 2024 Cameron Moten.

Omega WordPress Theme by ThemeHall

 

Loading Comments...
 

You must be logged in to post a comment.