Jump to content
RESET Forums (homeservershow.com)
kylejwx2

The inner workings of a VPN

Recommended Posts

jem101

Well that's really odd ikon because that setup really shouldn't be able to work! How can the PC on 1.33 see 1.15 as actually being across the VPN?

 

Unless of course you were doing something extremely clever with subnet masks, for example if the mask on both sides were 255.255.255.248 then 192.168.1.33/29 would actually be on a different subnet to 192.168.1.15. But then the gateway addresses would be wrong for at least one of the sides so it still couldn't work.

 

Alternatively I suppose you could have a set of routing tables but then it would easily turn into a bit of a mess.

 

172.16.1.1 is a private address and hence not routable so I guess you must have been using separate modems and routers on each side with 172.16.x.y being the next hop address on each router.

 

John 

Share this post


Link to post
Share on other sites
ikon

How can the PC on 1.33 see 1.15 as actually being across the VPN?

 

"In the example, computer 192.168.1.33 sees computer 192.168.1.15 as having IP 172.16.1.2."

 

There is one area I may be fuzzy on (because it's been a number of years, and I set up both Internet based and wireless backhaul based VPNs); that is, it might be that the Internet based ones had actual routable IPs at each end of the inside of the tunnel (i.e. instead of 172.16 IP's). But, other than that, it worked. It took me quite a while to wrap my brain around the concepts when I was setting up the 1st one, I can tell you that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...