How can I configure Tunnel All Internet traffic over Site to Site VPN?
12/29/2023
388 People found this article helpful
466,412 Views
Description
The objective of this article is to explain how to set up a Site to Site VPN between these 2 sites and then route all traffic from remote Site trough the Central Site SonicWall's WAN.
Resolution
Resolution for SonicOS 7.X
This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.
Create a VPN policy on both sites
Create a NAT policy in the Central Site to translate traffic from the Remote Site
- Create a NAT Policy to translate the Source IP of traffic from the Remote Site to X1 IP of the Central SonicWall.
- Navigate to Policy | Rules and Policies | NAT Rules. Click Add to open the add NAT policy window and set up as shown below and click OK to create this NAT policy. This is an example considering X1 as the WAN interface.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090210901635338.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
- Navigate to Network | IPSec VPN | Rules and Settings and create the VPN policy for the Remote site. You can name the policy as VPN to Remote Network.
- Select the Network tab and under Local Networks choose Any address. Under Remote Networks, select the address object created for the Remote site
- Go ahead and configure the Remote Site SonicWall.
- Navigate to Network | IPSec VPN | Rules and Settings and create the VPN policy for the Remote site. You can name the policy as VPN to Central Network.
- Select the Network tab and under Local Networks you can choose X0 Subnet. Under Remote Networks, select Use this VPN Tunnel as the default route for all Internet traffic.This option routes all internet traffic over this tunnel.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090210901491639.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
Bring up the Tunnel.
- We will initiate traffic from one site of the tunnel to the other by pinging an IP of a host behind the Central Site.Navigate to Investigate | Tools | System Diagnostics | under Diagnostics Tools, select Ping.
- Ping Lan interface of Central Site SonicWall.
- Test if it is possible to go online by pinging 8.8.8.8.
Resolution for SonicOS 6.5
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
Create a VPN policy on both sites
Create a NAT policy in the Central Site to translate traffic from the Remote Site
- Create a NAT Policy to translate the Source IP of traffic from the Remote Site to the X1 IP of the Central SonicWall.
- Navigate to Manage | Policies | Rules | NAT policies. Click Add to open the add NAT policy window and set up as shown below and click OK to create this NAT policy. This is an example considering X1 as the WAN interface.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170816600171.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
- Navigate to MANAGE | VPN | Base Settings and create the VPN policy for the Remote site. You can name the policy as VPN to Remote Network.
- Select the Network tab and under Local Networks choose Any address. Under Remote Networks, select the address object created for Remote site
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090211217560835.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
- Go ahead and configure the Remote Site SonicWall.
- Navigate to VPN | Base Settings and create the VPN policy for the Remote site. You can name the policy as VPN to Central Network.
- Select the Network tab and under Local Networks you can choose X0 Subnet. Under Remote Networks, select Use this VPN Tunnel as the default route for all Internet traffic. This option routes all internet traffic over this tunnel.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090180529143704.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
Bring up the Tunnel.
- We will initiate traffic from one site of the tunnel to the other by pinging an IP of a host behind the Central Site. Navigate to Investigate | Tools | System Diagnostics | Under Diagnostics Tools, select Ping.
- Ping Lan interface of Central Site SonicWall.
- Test if it is possible to go online by pinging 8.8.8.8.
Resolution for SonicOS 6.2 and Below
The below resolution is for customers using SonicOS 6.2 and earlier firmware. For firewalls that are generation 6 and newer we suggest to upgrade to the latest general release of SonicOS 6.5 firmware.
Create a VPN policy on both sites
Create a NAT policy in Central Site to translate traffic from Remote Site
- Create a NAT Policy to translate the Source IP of traffic from the Remote Site to X1 IP of the Central SonicWall.
- Navigate to Network | NAT policies. Click Add to open the add NAT policy window, set up as shown below, and click OK to create this NAT policy.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170802502287.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
- Go ahead and configure the Remote Site SonicWall.
- Navigate to VPN | Settings and create the VPN policy for the Remote site. You can name the policy as VPN to Central Network.
- Select the Network tab and under Local Networks you can chose X0 Subnet. Under Remote Networks, select Use this VPN Tunnel as the default route for all Internet traffic. This option routes all internet traffic over this tunnel.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170802617310.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk0OTUsImlhdCI6MTcyNTA3MzQ5NX0.TsS03dmLiOu5zxGpk48padBbkT9evUYt-0nqW0Y1CbM)
Bring up the Tunnel.
- We will initiate traffic from one site of the tunnel to the other by pinging an IP of a host behind the Central Site. Navigate to System | Diagnostics | Under Diagnostics Tools, select Ping.
- Ping Lan interface of Central Site SonicWall.
- Test if it is possible to go online by pinging 8.8.8.8.
Related Articles
Categories
Was This Article Helpful?
YES
NO