LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2012, 01:53 PM   #1
IslandWifiBill
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
Connecting private subnets across the internet...


Hello all,

I am running a brand new WISP (Wireless Internet Service Provider), and I need to be able to remotely administer access points behind the NAS on my various hotspots. Each hotspot is running coovachilli, and the APs have static private IPs. Each hotspot has a different private subnet beginning with 192.168. Each NAS has a static IP from our ISP. Here is a picture of what I need to do:


192.168.1.0 -> NAS(gateway) X.X.X.X -----INTERNET------ NAS(gateway) Y.Y.Y.Y---> 192.168.2.0

While I can reliably connect over the WAN to Y.Y.Y.Y and administer that server via web or ssh, I need to be able to administer the static private IPs (the radio devices) on 192.168.2.0 from the 192.168.1.0 LAN via my web browser (this is due to the nature of the firmware on the devices), as well as being able to bring all of my SNMP under one "roof".

SPECIFIC QUESTION: How can I define the routing on NAS X... and NAS Y... to allow me to simply web or ssh or whatever 192.168.2.x from the 192.168.1.x side? NAT? VPN? PPTP? Which would be the best solution?

Many thanks in advance, folks
 
Old 01-23-2012, 02:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the formal solution would be a site to site vpn.
 
Old 02-05-2012, 12:57 PM   #3
IslandWifiBill
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes, a VPN would work for about 90% of what I need done. However, I have a RADIUS server running on one of the subnets and am not sure how much a VPN might slow down the AAA process. Any other suggestions?
 
Old 02-05-2012, 07:22 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why would a VPN slow it down? Physical geography and public routing would have a vastly larger effect, especially as a radius conversation would literally just be 2 udp packets.
 
Old 02-06-2012, 02:15 PM   #5
IslandWifiBill
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Well Chris, I just don't know how a VPN might slow it down..... tha's why I'm askin'.
 
Old 02-06-2012, 02:24 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, you're asking for other suggestions, as if you think you know it will slow things down when it won't. a VPN is the most rightest way to do this.
 
Old 02-06-2012, 02:26 PM   #7
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
A VPN will not slow it down, reason being that without a VPN it won't work at all! The Internet does not contain routes for 192.168.x.x networks so the only possible way you will be able to connect is to establish some sort of tunneling. Which is effectively a VPN.
 
Old 02-06-2012, 02:41 PM   #8
IslandWifiBill
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
no, you're asking for other suggestions, as if you think you know it will slow things down when it won't. a VPN is the most rightest way to do this.
Geez, Chris. Either you fancy yourself a mind reader, or you need some time off.

I have no good idea as to how to approach this connection, largely due to my lack of recent experience in this aspect of networking. I know next-to-nothing about RADIUS or UAM. Therefore, seems reasonable to ask about the speed issue and to also request other suggestions.

I thought my ignorance was apparent by the original post.
 
1 members found this post helpful.
Old 02-06-2012, 02:43 PM   #9
IslandWifiBill
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by baldy3105 View Post
A VPN will not slow it down, reason being that without a VPN it won't work at all! The Internet does not contain routes for 192.168.x.x networks so the only possible way you will be able to connect is to establish some sort of tunneling. Which is effectively a VPN.
Thanks, baldy. I too am hairless. Looks like the consensus here is to setup a VPN and then (in my case) pray.
 
Old 02-07-2012, 02:48 AM   #10
KatrinAlec
Member
 
Registered: Feb 2012
Posts: 116

Rep: Reputation: 13
Couldn't one also use a GRE-tunnel?
Of course that wouldn't be safe, but maybe it doesn't have to be.
 
Old 02-07-2012, 12:19 PM   #11
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Yup, still what I would think of as a VPN, although as you point out its technically not "private" as its unencrypted. You may have trouble getting GRE over your ISPs network though. An IPinIP tunnel is more likely to work in my experience.

There is no reason why RADIUS will not work over a VPN and the added latency due to encryption is going to be negligible.
 
Old 02-07-2012, 03:06 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Generally the point of a GRE tunnel is to allow MS stuff like netbios.
 
Old 02-08-2012, 01:19 PM   #13
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by jefro View Post
... MS stuff like netbios.
Wash your mouth out with soap young man!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinging and connecting between subnets TooMad Linux - Networking 6 12-04-2009 02:33 PM
Connecting 2 subnets tro11 Linux - Networking 14 01-14-2009 02:44 PM
connecting between subnets thirdorderharmonic Linux - Networking 4 12-15-2006 10:42 AM
connecting two subnets FredL2 Linux - Networking 2 08-18-2006 03:47 PM
problems connecting to the internet via private home network pinzerbib Linux - Newbie 3 04-20-2004 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration