Benches Networking

3

VPN to One Network With 2 Gateways

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I'm looking for confirmation that that a vpn into following network, for ARD help desk purposes, will work as I expect...

I have a single office network, on 192.168.11.0/24, with 2 internet gateways. All internal computers have static configurations with one or other of the gateways. An ADSL gateway does most of the clients but some use a leased line due to outgoing ftp requirements.

The VPN connection will come in via the leased line, port forwarded to the os x vpn server.

Big question... do the internal clients send responses (to likes of ARD queries) to the virtual internal lan IP of the remote vpn client (i.e., routed back via the osx server & leased line router) or will they send responses to the gateway router that they are configured with?

To elaborate... If a 'simple' service like SSH is port-forwarded from one gateway router to a computer with the other router set as its gateway then no response is actually seen on the service since it is not coming back from the same WAN IP as it was sent to. I'm looking for confirmation that using a vpn service will remove this possibility due to the nature of the virtual internal IPs...?

Hope I've explained it OK!

-david

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    It depends on whether your VPN connection is a site-to-site connection, or a single host.

    If using a single host connection (where you use a VPN client (such as Internet Connect) to connect one machine to the VPN), that machine is assigned an internal address on the VPN server. Therefore, too al machines in the office network it looks like just another machine on the LAN and the remote machine's default gateway setting is irrelevant.

    If you're using a site-to-site VPN where a range of machines at your location (e.g. using 192.168.20.x) all share a single VPN connection to the remote office site, then the remote server will see your actual IP address (192.168.20.x) and will need to know how to route back to that address using static routing tables (or, potentially, a single route on your router).

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks for that, Camelot, exactly the clarification I was looking for!

    -david

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ...Seems to be a problem with forum, marking a reply as "solved".