Complete these high-level steps to create IPsec tunnels between Sophos Firewall and SIA.
This process was tested on these hardware and software versions of Sophos Firewall:
- Sophos Firewall XGS and XG series hardware
- Sophos Firewall virtual appliance on VMware
- SFOS Version 19.0 MR2 Build 472
- SFOS Version 19.5 MR2 Build 624
Before you begin:
Prepare for SD-WAN setup. Make sure you create the IPsec credentials. The IKE identifier and the pre-shared key that you provide in SIA are required for this setup.
To create IPsec tunnels in Sophos Firewall:
- In Sophos Firewall, create a route-based VPN. For instructions, see Create a route-based VPN.
- Assign a static IP address to the XFRM interface. For instructions, see Assign an IP address to the XFRM interface.
- Create a firewall rule. For instructions, see Add a firewall rule.
- Configure routing to configure how Sophos firewall forwards traffic. For instructions, see Configure routing.
- Verify that tunnels are active and communicating. For instructions, see Verify tunnel status.
Complete this procedure to create a VPN tunnel between SIA and Sophos Firewall. For more information on these steps, see Create a route-based VPN in the Sophos Firewall Documentation.
To create a route-based VPN:
- Log in to the Sophos Firewall web admin console or your administrative interface.
- In the navigation menu, under the Configure section, click Site-to-site VPN.
- Click Add.
- In the IPsec tab, configure the general settings:
- Enter a descriptive name.
- For the Connection type, select Tunnel interface.
- For the Gateway type, select Initiate the connection.
- Configure the encryption settings:
- For the Profile, select IKEv2.
- For the Authentication type menu, select Preshared key.
- In the Preshared key field, enter the preshared key that you generated and provided in SIA. For more information, see Prepare for SD-WAN setup.
- In the Repeat preshared key field, enter the preshared key again.
- Configure the gateway settings. In the Gateway Address field of the Remote Gateway section, enter the address for the primary IPsec tunnel:
- Configure the Local ID:
- In the Local ID type menu, select Email.
- In the Local ID, enter the IKE identifier that you configured in SIA. For more information, see Prepare for SD-WAN setup.
- Click Save.
- Repeat steps 2-8 for the secondary tunnel. Make sure you use
secondary.ipsec.akaetp.netas the gateway address.
- Confirm that your tunnels appear with an Active status.
- Assign an address to the XFRM interface
Complete this procedure to assign an address to the XFRM interface. The XFRM interface is a virtual tunnel interface that Sophos Firewall creates when you set up a route-based VPN connection.
To assign an address to the XFRM interface:
- In the navigation menu, under the Configure section, click Network.
- Under Interfaces, select the interface for the primary IPsec tunnel.
- Edit the interface and assign a static IP address.
- Repeat steps 2 and 3 for the interface of the secondary IPsec tunnel.
Complete this procedure to create a firewall rule. For detailed instructions, see Add a firewall rule in the Sophos Firewall documentation.
To add a firewall rule:
- In the navigation menu, under Protect, click Rules and policies.
- Click Add firewall rule, and create a firewall rule that allows traffic to flow from Sophos to SIA. Make sure you create a firewall rule that meets the requirements and security policies of your organization.
Complete this procedure to define how Sophos Firewall forwards traffic. You can configure an SD-WAN route and/or a static route. If you configure both routes, the fallback route that's used depends on the route precedence you set in Sophos Firewall. For more information on routing, see Routing in the Sophos Firewall documentation.
To configure routing:
In the navigation menu, under Configure, click Routing.
To create a static route:
- Click the Static routes tab.
- Create a routing rule for the XFRM tunnel interfaces. For instructions, see Add a unicast route in the Sophos Firewall documentation.
To create an SD-WAN route:
Do one of the following:
- Add a custom primary and backup gateway for each tunnel interface. Click the Gateways tab. For instructions on creating a gateway, see Add a gateway in the Sophos Firewall documentation.
- Create an SD-WAN SLA profile. For more information, see SD-WAN profiles and Add an SD-WAN profile in the Sophos Firewall documentation.
Click the SD-WAN routes tab, and complete these steps:
- Enter a descriptive name for your connection.
- Add the networks and services that have traffic you want redirected to SIA Proxy.
- Based on the configuration of step 3a, do one of the following in the Link selection settings:
- Select Primary and Backup gateways. In the provided menus, select the primary and backup gateways you created.
- Select Select SD-WAN profile. In the provided menu, select the SD-WAN profile that you created.
- Click Save.
For detailed instructions on creating an SD-WAN route, see Add an SD-WAN route in the Sophos Firewall documentation.
Complete this procedure to verify that the tunnels between Sophos Firewall and SIA are communicating and active.
To verify tunnel status:
- In the Threat Protection menu of Enterprise Center, select Reports > IPsec Tunnel Activity. Verify that the Status is green for the tunnel.
- In Sophos Firewall:
- Verify the status of IPsec connections. In Sophos Firewall, select VPN > IPsec connections. Confirm that the primary and secondary tunnel interfaces are active and connected.
- Confirm that the XFRM interfaces show a Connected status.
- If a tunnel is not connected, do the following:
- Review the site-to-site VPN configuration.
- Review the routing configuration and route precedence.
- Confirm that the firewall rules have the correct zones, hosts, and services configured.
- Confirm that packets are traveling through the tunnels. You can run
tcpdumpto view this information.
Updated 4 months ago