[ATP/FLEX] How to route all traffic to IPSec peer gateway







When site to site VPN is configured between Nebula Firewall and the peer gateway, we can use policy routes to force the subnet of Nebula Firewall to access the Internet via the WAN connection of the peer gateway. The article instructs how to configure a policy route on each device to route all traffic to the peer gateway. In this example, we use Zyxel Firewall (on-premises mode) as the peer gateway.
Before Begin
You need to know how to set up site to site VPN in Nebula.
How to establish Site-to-Site IPsec VPN between Nebula and non-Nebula devices
Nebula Firewall
1. Firewall > Configure > Site to Site VPN > Non-Nebula VPN Peers
Set the Private subnet of the peer gateway. In this example, 192.168.100.1 is used for connectivity check.
2. Firewall > Configure > Routing
Click +Add to create a new routing.
Source: intranet, Destination: Any, Next-Hop: VPN NAME
Peer Gateway
1. In Local Policy, you have to fill in 0.0.0.0/0.
2.In order to access internet, you have to do Source NAT to translate 192.168.8.0/24 to the WAN interface.
Test Result
You will see source 192.168.8.33 have been NAT and routed to internet via the peer gateway.
Categories
- 8.5K All Categories
- 1.6K Nebula
- 71 Nebula Ideas
- 57 Nebula Status and Incidents
- 4.5K Security
- 226 Security Ideas
- 985 Switch
- 46 Switch Ideas
- 884 WirelessLAN
- 24 WLAN Ideas
- 5.2K Consumer Product
- 159 Service & License
- 280 News and Release
- 61 Security Advisories
- 13 Education Center
- 581 FAQ
- 263 Nebula FAQ
- 160 Security FAQ
- 76 Switch FAQ
- 75 WirelessLAN FAQ
- 7 Consumer Product FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 62 About Community
- 46 Security Highlight