Example of a site-to-site VPN tunnel

Figure 1. Site-to-site VPN tunnel


Consider the following site-to-site VPN example with two NETGEAR security gateways:
  • NETGEAR VPN router (the local router or local endpoint):
    • An ISP assigns the local security gateway a public WAN IP address of 224.0.113.44, which is the local identifier in the site-to-site IPSec VPN connection settings.
    • The local group LAN subnet is 192.168.1.0/24.
    • A computer that is connected to the local security gateway receives a DHCP-assigned IP address of 192.168.1.18, and a server receives a DHCP-assigned IP address of 192.168.1.25
  • Remote VPN router (the remote endpoint):
    • An ISP assigns the remote security gateway a public WAN IP address of 203.0.113.55, which is the remote endpoint IP address in the site-to-site IPSec VPN connection settings.
    • The remote group LAN subnet is 192.168.100.0/24.
    • The remote security gateway is connected to an existing office network that includes a switch that receives a DHCP-assigned IP address of 192.168.100.4, and storage device that receives a DHCP-assigned IP address of 192.168.100.8.

In this VPN configuration, after the VPN tunnel is up, the following applies to the computer with IP address 192.168.1.18 on the local network, depending on any additional security settings for individual devices:

  • The computer with LAN IP address 192.168.1.18 can ping the remote endpoint at LAN IP address 192.168.100.1 and the local security gateway at LAN IP address 192.168.1.1 because the computer and both routers function in the same VPN network.
  • The computer can access devices in the LAN subnet 192.168.100.0/24 at the office network of the remote endpoint. For example, the computer can access devices behind the switch at IP address 192.168.100.4 and a share on the storage device at IP address 192.168.100.8.
  • The computer can access devices in the LAN subnet 192.168.1.0/24 at the site of the local security gateway. For example, the computer can access the server at LAN IP address 192.168.1.25.

In general, devices (clients) at each site can access devices at both sites, at an IP address in the LAN subnet of each router.