28th August 2008
|
#1 (permalink)
|
Join Date: Dec 2004
Location: Essex
Age: 35
Posts: 1,180
|
VPN 192.168.1.X Problem
Hi Guys,
Can anyone offer up some advise on a problem we have.
Our customer has a site with a VPN, their internal lan runs on 192.168.1.X
We can change that as it's now going to be too much work.
Their VPN is on a live IP, which gives access to 192.168.1.X Lan, the problem is if any of the home workers have their own local lan of 192.168.1.X (Which is the default for most home networks, their own routers see the closest device instead of the tunnel end point)
This hasn't been a problem until now, 3 users now have BT's Home Hub and as far as I can see there is no way of changing the default IP range for home hub.
I have a couple of older Cisco routers if there is a way to route this, if not, any other suggestions would be most welcome
The VPN is run on a Draytek if that makes any difference?
Thanks
Andy
__________________
Andy Booth
Naglotech Ltd Webhosting, Colocation, Consultancy
Cybernetic-Servers Game Servers, Dedicated Servers
Company No : 5326296
AS35327
__________________
Web Host - VIP Member
|
|
|
28th August 2008
|
#2 (permalink)
|
Join Date: Aug 2002
Location: London, England
Posts: 3,042
|
Personally I always prefer to migrate to a new range in that scenario - a lot of work yes, but often it can be a good opportunity to get decent DHCP setup at the same time. There probably are other more elegant methods, i'm sure i've come across them before, but the brain is blank on that one tonight.
__________________
••• Mark Castle ••• Secura Hosting Ltd •••
••• Managed Hosting •••
••• AS29452 • UK Company Reg No: 04330657 • VAT Number: 789 2703 81 • Sales: 0845 123 2632 •••
My views are my own and not those of my company.
__________________
Web Host - VIP Member
|
|
|
28th August 2008
|
#3 (permalink)
|
Join Date: Jun 2005
Location: Dorset, UK
Posts: 827
|
We use un-popular IP ranges for our local LANs where VPNs connect in (10.32.164.x, 172.20.0.x etc...)
__________________
Adam Cooke
aTech Media and aTech Labs - UK Ruby on Rails development specialists
Radar -A Xen virtual machine deployment & management engine
Codebase - a git-based code management platform with ticketing, deployment tracking & more
Company Registration Number: 5523199 VAT Registration Number: GB 868 861 560 Full Legal Details
All views expressed in my posts are my own and not those of aTech Media Limited.
__________________
Web Host - Certified Member
|
|
|
28th August 2008
|
#4 (permalink)
|
Join Date: Jun 2004
Age: 22
Posts: 132
|
You could do some sort of static NAT mapping, e.g. map on your VPN gateway 192.168.2.0/24 from the VPN clients point of view, to 192.168.1.0/24 on the actual LAN.
How you do it depends on exactly what VPN endpoint you're using, I know the Juniper netscreen boxes can do this, and obviously if you're using something such as OpenVPN you could do it through iptables. The problem then is making things actually useful to the VPN client, as obviously internal DNS would still resolve the 192.168.1.X IPs, so you'd need to do some sort of separate view onto your DNS server to return IPs in the other range.
Overall, it's probably less work to move the LAN to a different subnet however....
__________________
Web Host - Certified Member
|
|
|
28th August 2008
|
#5 (permalink)
|
Join Date: Sep 2005
Location: Leeds
Posts: 395
|
What is the VPN endpoint. If its Cisco there is an way solution based on routing.
__________________
Web Host - Certified Member
|
|
|
28th August 2008
|
#6 (permalink)
|
Join Date: Dec 2004
Location: Essex
Age: 35
Posts: 1,180
|
Its nothing so fancy, Draytek 2800G
__________________
Andy Booth
Naglotech Ltd Webhosting, Colocation, Consultancy
Cybernetic-Servers Game Servers, Dedicated Servers
Company No : 5326296
AS35327
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#7 (permalink)
|
Join Date: Jul 2003
Location: Kent, UK
Posts: 1,415
|
We've had this problem over and over again - right pain in the arse as we manage some rather large VPNs spanning many sites.
I know it doesn't help, but the only easy solution is an unpopular IP range on the local LAN.
Its the one thing I like about IPv6 - enough IPs that this kind of clash shouldn't happen in the future.
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#8 (permalink)
|
Join Date: Aug 2007
Location: Lincoln, UK
Posts: 489
|
Fortinet and Check Point (Cisco too I think, can't remember, I have no intention of ever touching aa PIX/ASA again!) let you allocate virtual IPs to the connected software clients that you can then route on to the local LAN to prevent exactly this happening.
No idea if Draytek boxes supports this, as it's a fairly cheap and chearful deviceprobably running Linux and racoon/openswan then I suspect not.
So your choice would seem to be time (re-IP everything) or money (buy a better VPN box  )
__________________
Freethought Group Limited
Hosting and communications
Freethought Group Limited registered in London No. 5862996. Registered office: The Old Church Hall, 2A Cromwell Street, Lincoln, LN2 5LP.
Xion Internet and Freethought Internet are trading names of Freethought Group Limited.
__________________
Web Host - Certified Member
|
|
|
29th August 2008
|
#9 (permalink)
|
Join Date: Mar 2002
Location: London, United Kingdom
Age: 38
Posts: 4,251
|
Quote:
Originally Posted by SynergyWorks
Its the one thing I like about IPv6 - enough IPs that this kind of clash shouldn't happen in the future.
|
There are enough v4 addresses that it needn't happen,
Sadly, user, hardware manufacturer, and software author stupidity isnt going to get solved by having more ips ...
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#10 (permalink)
|
Join Date: Dec 2004
Location: Essex
Age: 35
Posts: 1,180
|
Thanks for the tips guys, looks like we will be setting a new IP range on the LAN.
It's going to be a royal pain, but I guess thats the sensible option here.
__________________
Andy Booth
Naglotech Ltd Webhosting, Colocation, Consultancy
Cybernetic-Servers Game Servers, Dedicated Servers
Company No : 5326296
AS35327
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#11 (permalink)
|
Join Date: Nov 2001
Location: Derbyshire
Posts: 5,965
|
One of the reasons the RFCs recommend not starting at X.Y.1.0 etc. and starting at a random point and going up or down from there as needed, to try and avoid clashes - sadly hardly anyone bothers. Was quite a discussion on NANOG about it recently.
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#12 (permalink)
|
Join Date: Jan 2002
Location: North Yorkshire
Age: 31
Posts: 1,360
|
DrayTek 2800G here for our office VPN. We started at 192.168.182.x to avoid any such problems in the future.
__________________
Web Host - VIP Member
|
|
|
29th August 2008
|
#13 (permalink)
|
Join Date: Apr 2004
Posts: 556
|
Quote:
Originally Posted by AdamC
We use un-popular IP ranges for our local LANs where VPNs connect in (10.32.164.x, 172.20.0.x etc...)
|
Obviously not that un-popular, our SAN network runs on 172.20.0.0/23 :P
__________________
Daniel Foster | Technical Director
melbourne | the whole server thing. sorted.
dedicated servers | colocation | ip transit | web development
Vat Number 755 5694 86. Company Number 4091836. Established since 2000. AS39451. Call us on 0161 232 0001.
__________________
Web Host - Certified Member
|
|
|
29th August 2008
|
#14 (permalink)
|
Join Date: Apr 2004
Location: Newark, UK
Posts: 795
|
Depending on what protocols they're using could you give the BT home hub users a different subnet for the VPN and then NAT it back into your regular range?
ChrisB.
__________________
Chris Burton
8086 Limited (Company No.: 06336617 VAT No.: 920 5102 75)
Ever wanted to know who uses a DNS or MX server ? with DNS History you can find out.
__________________
Web Host - Certified Member
|
|
|
29th August 2008
|
#15 (permalink)
|
Join Date: Jun 2005
Location: Dorset, UK
Posts: 827
|
Quote:
Originally Posted by danfoster
Obviously not that un-popular, our SAN network runs on 172.20.0.0/23 :P
|
Haha - I bet you don't have much on 10.32.164.x tho  Fortunately, I don't think I'll need to connect to our VPN from your SAN 
__________________
Adam Cooke
aTech Media and aTech Labs - UK Ruby on Rails development specialists
Radar -A Xen virtual machine deployment & management engine
Codebase - a git-based code management platform with ticketing, deployment tracking & more
Company Registration Number: 5523199 VAT Registration Number: GB 868 861 560 Full Legal Details
All views expressed in my posts are my own and not those of aTech Media Limited.
__________________
Web Host - Certified Member
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| US/UK Problem |
to6y |
Dedicated Servers, VPS and Colocation |
19 |
22nd July 2008 08:07 PM |
| Php - Mysql Problem |
andyb28 |
Business and Technical Advice |
5 |
17th April 2008 11:32 AM |
| Problem login |
nelsco |
General Chit Chat & Discussion |
9 |
7th May 2007 11:00 AM |
|
|