VPN and Windows 7, iPad or Droid

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2  Next
Author Message
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Sun Jul 20, 2014 17:59    Post subject: VPN and Windows 7, iPad or Droid Reply with quote
Bump

I've spent several hours reading Internet posts, FAQs and how-tos trying to get VPN access into my LAN using a Windows 7 laptop, iPad or Droid phone. I have an Asus RT-N66U router running v24-sp2 mega version. I went to Services, VPN and clicned the Enable radio button. For Server IP I entered 0.0.0.0 (from Internet posting) but that didn't work. Another posting said to use public IP address, I tried that but can't access. I entered a range of addresses in the Client-IP(s) field, have Local User Management checked and defined a CHAP-Secret ID * password * as instructions said. I did save the configuration AND rebooted the router. I took my Windows 7 laptop, created a VPN connection, specified my public IP address, entered the ID and password. When I try to connect I get an 800 error in Windows 7. The iPad and Droid phone also fail to connect to the VPN. I don't know what I'm missing. Do I need a VPN server (other than the Asus) on my LAN?
Sponsor
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Tue Aug 05, 2014 14:28    Post subject: Nobody? Reply with quote
So my desired usage of DD-WRT as a VPN server to access my LAN from the Internet isn't possible?
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Mon Aug 11, 2014 18:08    Post subject: Reply with quote
What is your setup? In other words, what cable/dsl modem are you using? Lay out for us the topography: Internet-->modem-->router,etc and be specific. I suppose there is a possibility that your modem is acting as some type of firewall as well and VPN requests are not being sent to your router.
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Mon Aug 11, 2014 18:34    Post subject: Reply with quote
I have cablevision for Internet, Asus RT-N66U running DD-WRT v24-sp2 (04/07/12) mega. I went to Services VPN, enabled OpenVPN server, Start Type WAN Up, Config via GUI, Server mode Router (TUN), Network 0.0.0.0, Netmask 0.0.0.0, port 1194, Tunnel Protocol UDP, Encryption Cipher Blowfish CBC, Hash Algorithm SHA256, nothing in remainder of boxes. I clicked apply, router spins hourglass. Tried connecting with Droid Thunderbolt, PPTP, entered username password, fails to connect. I've tried enabling the PPTP server, same parameters, similar failure. I did this more than a week ago and tried so many times I can't remember. Basically I want my iPad and Droid to look like it's on my LAN when coming in via VPN.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Mon Aug 11, 2014 20:13    Post subject: Reply with quote
Right now I don't care about what you have done. I just want to know what model of modem are you using? Not the provider, but the modem model.
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Mon Aug 11, 2014 21:06    Post subject: Reply with quote
Arris

HW/FW Versions

Status
HW/FW Versions
Event Log
CM State
Advanced

Hardware Information
System: ARRIS DOCSIS 3.0 / PacketCable 1.5 Touchstone Telephony Modem
HW_REV: 2
VENDOR: Arris Interactive, L.L.C.
BOOTR: 1.2.1.62
SW_REV: 7.5.93
MODEL: TM822G
Serial Number: DCMBRE7AS288394
Battery Charger FW Rev: 03.11
Options:
Firmware Build and Revisions
Firmware Name: TS070593_060313_MODEL_7_8
Firmware Build Time: Mon Jun 3 11:26:20 EDT 2013

© Copyright 2013, ARRIS Group, Inc., All rights reserved.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Mon Aug 11, 2014 21:13    Post subject: Reply with quote
Alright, it's highly unlikely that the ARRIS modem is causing an issue BUT does that unit have 1 LAN port on the back or 4 LAN ports? Looking on Google I can't tell for sure which one you've got.
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Mon Aug 11, 2014 22:24    Post subject: Reply with quote
Arris cable modem has single gigabit LAN port.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Mon Aug 11, 2014 22:41    Post subject: Reply with quote
Great. We need to determine if the Arris modem or your ISP is blocking any incoming traffic into the router. Do you have port forwarding enabled for anything in DD-WRT-->QoS-->Port Forwarding?

If not, we may want to try enabling something like RDP in your Windows 7 computer and port forwarding 3389 to that computer just to see if it works. If it doesn't it could be an issue with your modem or ISP blocking traffic therefore causing other problems, like the VPN not working.
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Mon Aug 11, 2014 23:05    Post subject: Reply with quote
Yes I have ports forwarded, in fact, 27 ports. Many cameras, web sites, e-mail, etc. Ports are 21, 22, 25, 80-91, 110, 161, 443, 5900, 5901, 5080-5100, 5917, 5818, 8060 and 1723 which I read on DD-WRT forum was port for vpn. 1723 points to LAN 192.168.2.1.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Tue Aug 12, 2014 13:02    Post subject: Reply with quote
Alright, cool. Now we are at EXTREMELY unlikely that the modem is blocking any of the VPN traffic. Let’s go through this stuff step by step and find out where it get’s us:

1. Get everything in the VPN page back to normal. That means all options for all the VPN sections should be Disable. PPTP Server, PPTP Client, OpenVPN Daemon, and OpenVPN Client should all be ticked on “Disable”

2. Apply Settings

3. Now let’s remove that port forward you have for port 1723. It doesn’t need to be there if you are using the DD-WRT Router for the VPN Server. DD-WRT doesn’t need to forward a port to itself or anyone else if it's handling the VPN. Any ports you have configured for port forwarding for the VPN shouldn’t be there (i.e 1723, 500, 4500, etc.) If you set them up previously for the VPN, take them out.

4. Once you get all that done let’s reboot the DD-WRT router by going to Aministration-->Reboot Router

5. When it reboots go to your Port Forwarding page and the VPN page to make sure all the things you took out or changed did actually change.

6. Go to Services-->VPN.

Alright, before proceeding any further when looking at your posts I assume that your DD-WRT Router IP is 192.168.2.1. I am also going to assume you are leasing IP addresses in the .100 range. If this isn’t right, post back and I’ll change the settings below. Otherwise, if you use the settings below it’s probably still not going to work.

7. For PPTP Server change it to Enable. Now here is what you want to fill in for each option:
- PPTP Server = Enable
- Broadcast support = Enable
- Force MPPE Encryption = Enable
- DNS1 = 192.168.2.1
- DNS2 = blank
- WINS1 = blank
- WINS2 = blank
- Server IP = 192.168.2.2 (note: this needs to be different than the IP of the router but of course it also needs to be unused on your network)
- Client IP(s) = 192.168.2.10-20 (note: these are going to be the IP addresses that get assigned to the devices that connect to the VPN.)
- Chap-Secrets = username * password * (note: this one can always get you as you need to enter in the username followed by a “space” followed be an asterisk followed by a “space” followed by the password followed by a “space” followed by another asterisk. This one seems to get everyone at some point. For example: jdoe * Itworks! *

8. Apply Settings

9. Again, for good measure go to Aministration-->Reboot Router

10. Time to test to see if it's working again. The best test would be to use your Windows 7 laptop and try to connect in from a different WAN address. In other words, you don't want to be connecting to the VPN while already connected to your LAN. In "theory" it should still work and let you connect if there is not some type of loopback issue (which happens a lot in DD-WRT). Best test would be to connect from outside your LAN.
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Tue Aug 12, 2014 17:39    Post subject: Reply with quote
Made changes, rebooted router, verified changes in effect, enabled PPTP with parameters specified, rebooted router, verified changes in effect after reboot. Tried Droid Thunderbolt over 4G with matching VPN settings, fails immediately. iPad doesn't have Internet other than via wifi so can't test that without leaving building. Will try Windows 7 laptop via PDANet.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Tue Aug 12, 2014 18:23    Post subject: Reply with quote
Alright, if that doesn't work on the Windows 7 laptop when you try it I'll PM you my VPN stuff and you can try to connect to me just to make sure it's not something wrong on your client side.

If you can connect to me then you will have to determine where the problem is coming from in the DD-WRT firmware. This will suck! You will backup all your settings in the Router via Administration-->Backup and then reset the router to defaults. You'd configure the unit for your WAN (not sure if you have a WAN static IP, you probably don't) and then use my instructions to try and get only the VPN working. If it works, it means there is something lingering around in your existing backup settings that you'll have to isolate. I had to do this just last week to try and determine why I was having a local DNS problem at a client site. I was able to compare a working bin file with the non-working bin file using an online tool and SURE ENOUGH I forgot to uncheck something with "local DNS".
jjrowan
DD-WRT Novice


Joined: 26 Jan 2012
Posts: 17

PostPosted: Wed Aug 13, 2014 14:18    Post subject: Reply with quote
Went to remote location, Windows 7 professional desktop, configured VPN, tried connecting to my router over Internet, failed. Picture attached with failure message. Resetting router to defaults isn't option, I host web sites and e-mail for people.
80sguitartist
DD-WRT User


Joined: 18 Feb 2010
Posts: 218

PostPosted: Wed Aug 13, 2014 14:31    Post subject: Reply with quote
Only help I can offer then is Sorry it didn't work out. If I had to take my best guess, you have something in there that you intentionally or unintentionally did that is causing the issue.

So you're telling me that you can NOT:
- backup the existing config of the router,
- reset it to defaults at a time where it is unlikely to cause big issues (like Sunday night at 11PM)
- quickly reset it to defaults,
- try the VPN stuff,
- see if it works,
- backup that config,
- restore your original config,
- compare the two config files when you have time to see where the problem can be.

If that's not an option...I'd say your SOL. Because at this point you're probably looking for a needle in a haystack.

Lastly, dude if you're hosting websites and email for people you seriously need to think about investing in another router like the one you have to troubleshoot issues like this in a "test" environment. What happens when (not if) that router goes Ka-Boom?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum