AppNote: Configuring SonicWALL for S2S VPN
Novell Cool Solutions: AppNote
By John Fuge
Reader Rating
from 4 ratings
|
Digg This -
Slashdot This
Posted: 4 Jan 2005 |
Configuring SonicWALL for Site-to-Site VPN with a BorderManager 3.8 SP1 Master Server
This article explains how to configure the SonicWALL TZ 170 SP Wireless security appliance for a site-to-site VPN with a Novell BorderManager 3.8 Master Server. Instructions are given for network setup, BorderManager setup, and SonicWALL setup.
About the SonicWALL TZ 170
SonicWALL Internet firewall/VPN security appliances are built on stateful inspection firewall technology, and a dedicated security processor designed to ensure maximum performance for VPN-enabled applications. The SonicWALL TZ 170 SP Wireless security appliance is a total security platform that delivers enterprise-class wireless and wired security to small networks, and ensures continuous network uptime for critical, secure data connectivity through integrated and automated fail-over and failback.
Network Setup
There are four basic parts to the required network setup:
1. BM Public IP
The dynamic NAT is 192.168.0.100/24; the GW is 192.168.0.254/24 (DLink Wireless Router Private IP); and the BorderManager Private IP is 172.17.0.1.2. Dlink to Cisco Router
This has the route for 172.16.0.0/16 to the Cisco Router 192.168.0.160/24. The private IP is 192.168.0.254; the public IP is x.x.x.x (whatever connects to the Internet - this is just for testing routes).3. Cisco Router IPs
The Cisco Router IP addresses are 192.168.0.160/24 and 172.16.0.254/16. There are no NAT's on any interfaces. The IP Route for Dlink is 0.0.0.0 - 0.0.0.0 - 192.168.0.254.
4. SonicWALL TZ 170
The Standard OS is 2.2.1; the Public NAT is 172.16.0.1/16 (NAT); the Private interface is 10.10.0.1/16' and the GW is 172.16.0.254 (Cisco Interface).
BorderManager Configuration
Note: The MAST site-to-site configuration must already be configured. There is a great book by Craig Johnson (see http://nscsysop.hypermart.net/) and documentation by Novell (see http://www.novell.com/documentation/nbm38/index.html?page=/documentation/nbm38/inst_admin/data/amljjt7.html) to help you set up a VPN Master server.
Figure 1: Modifying the site-to-site service in iManager
First, you need to set up the slave (see Figure 2). Note: The Slave server name is the same as the name in the VPN-Settings "Unique Firewall Identifier" setting on the SonicWALL appliance.
- Create the slave server by going to https:<BM SERVER PRIVATE IP>/nps/iManager.
- Log in as the admin user.
- Click the NBM VPN Configuration.
- Select VPN Site-to-Site Configuration.
- Click Add.
- Enter the Slave Server's Name at the top.
Figure 2: Master Server, certificate setup
Figure 3: Server setup, PSS key
Note: The IP Server address must be the public IP bound to the SonicWALL (or router, if one is in front, and it is statically NAT'ed inside). The Tunnel IP must be an IP with in the same subnet as the master. For example, if the master is 5.0.0.1/8, then the slave could be 5.0.0.2 or any IP in that range. This IP will never be used by the SonicWALL - it is just for Border Manager to have in its configuration.
- Check the Non-BorderManager VPN box.
- For the Authentication Method, choose PSS.
- Type the PSS Key.
- Under Protected IP Networks and Hosts, add the remote network, slave, and LAN subnet to the list at the bottom. (For my test lab that was 10.10.0.0/16). Do not enable RIP.
- Click Apply.
- Click the 3rd Party Traffic Rules tab.
- Click New.
- Type the Name of the rule (such as <SLAVE SERVER NAME>_rules).
- Check the Enable Rule box.
- Select the Public IP of the Slave server/device you're configuring for the 3rd-party server gateway address.
- Next to "Rule applies to:" (on the next line down), select Only Use IP List.
- Click Add (at the right). The list will contain your Slave LAN (10.10.0.0/16).
- Under NBM Server Protected Network, next to "Rule Applies To:" select All Hosts.
- Leave Define Action as it is. These are the settings used on the SonicWALL.
- Click Apply at the bottom of the screen.
- Click OK until you return to the beginning screen.
Now you need to set up the third-party traffic rules. See Figure 4 for details.
Figure 4: Third-party traffic rules setup
SonicWALL Configuration
Note: You should set up the SonicWALL according to the manufacturer's instructions so you'll have the public IP and private IP you want on the device. No other changes are necessary at this time - just complete the steps below. If additional security settings need to be made to better secure the device, you should complete those after your VPN tunnel is up. Make one change at a time, with reboots, to ensure that issues don't appear later on.
- Open the VPN Global Settings page (see Figure 5).
- For the VPN Settings Unique Firewall Identifier, type the same name you chose for the Slave Server on the NBM server.
- Click the Go to the VPN Settings tab on the SonicWALL.
- Click Add under VPN Policies.
Figure 5: SonicWALL VPN Global Settings
Setting Security Policies
The Security Policy window opens (see Figure 6).
Figure 6: SonicWALL Security Policy settings, General tab
- For the Name, type the name you gave the Master VPN Server. For my tests I gave it the name "Master."
- For the IPSec Primary Gateway Name or Address, type the public IP of the NBM server.
- Click "Use This VPN as default route for all Internet traffic." This setting will force all traffic out to the internet through this gateway. No additional firewall rules will be necessary, and no rules need to be deleted.
Setting Security Proposals
- Click the Proposals tab.
- Select Main Mode for the exchange if your SonicWALL has a public IP Address bound to it. If it does not, then select Aggressive Mode.
- Select Group 2 as the DH Group.
- Select 3DES for the Encryption setting.
- Select SHA as the Authentication protocol.
- Select ESP as the protocol.
- Select 3DES for the Encryption setting.
- Select MD5 as the Authentication protocol.
- Enable PFS.
- Select Group 2 as the DH Group.
- Set the Life Time to 7200 seconds (120 minutes).
First, you need to set up IKE Phase 1.
Next, set up IPsec Phase 2.
Using Advanced Settings
- Click the Advanced tab (see Figure 7).
- Check the box for Enable Keep Alive.
- For "VPN Terminated at" select LAN.
Figure 7: SonicWALL Advanced VPN settings
Defining Static Routes
- Access the Network Routing (Static Routes) page (see Figure 8).
- Add 172.17.0.0/26 to 192.168.0.100 on the WAN interface.
Now you need to add a Route statement for Master server network. This will ensure that the Slave LAN knows how to route through the NBM Tunnel to the BM private infrastructure.
Figure 8: SonicWALL Network Routing: Static Routes
Note: You may need to reboot the SonicWALL and NBM server for the tunnels to come up correctly. (I recommend that you power the appliance on and off - I found it worked better that way.) No additional changes to the appliance are necessary at this time.
Additional SonicWALL Configuration Screens
Figure 9: SonicWALL IP Configuration
Figure 10: SonicWALL Advanced VPN Settings
Figure 11: Firewall Access Rules
Reader Comments
- pictures are of bad quality !!!!!!!!!
- Blame Novell Not the writer for the bad pictures.
- Pictures are of Great quality. You just have to click again on the picture to enlarge it once you open a larger view picture.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
