Nebula Policy Route malfunction with VPN Orchestrator

Options
GiuseppeR
GiuseppeR Posts: 708 image  Guru Member
Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Engineer Level 1 - Nebula 5 Answers First Comment
edited April 8 in Nebula

Hello everyone,

I went to this section:

immagine.png

to route a pair of specific LAN devices via wan2 internet connection.

I have 2x wans on that site but I need that both of those LAN devices go on the internet ONLY via wan2. No backup via wan1.

The problem is that I have also a VPN (VPN that is working via wan2 only too) on that ORG:

immagine.png

So when those rules are enabled I am NOT able to use internal VPN to reach those devices. Neither ping or smb connection.

In my opinion VPN is an internal LANs connection, so routing policies via wan2 should NOT affect LAN traffic.

How can I solve that?

All Replies

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,736 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @GiuseppeR ,

    The issue occurs because your current Policy Routes use "Any" as the destination and the policy route has higher priority than site-to-site VPN in routing flow. Since the VPN subnets are technically "Any" destination, the firewall prioritizes the Policy Route and pushes that traffic out through WAN2 instead of routing it through the VPN tunnel.

    Please allow me to take some time to find the solution for you.

    Zyxel Melen


  • Zyxel_Melen
    Zyxel_Melen Posts: 4,736 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @GiuseppeR

    I checked the priority of routing flow can't be modified. It seems like you have some reason for using policy route rather than setup the WAN Load Balancing? May you share the reason and your scenario's detail? With these information, we can help to figure the solution.

    Zyxel Melen


  • GiuseppeR
    GiuseppeR Posts: 708 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Engineer Level 1 - Nebula 5 Answers First Comment

    Hi @Zyxel_Melen

    I need to use wan2 for redundant backup and VoIP purposes.

    VoIP PBX is set to be aligned to a specific IP that is working only via wan2, a part from this wan1 is made on a radio ISP connection so it has more latency and instability with bad weather.

    Redundant backup has to go via wan2 because it has to avoid any conflict with traffic usage via wan1. In this scenario I’m sure that wan1 is used for the rest of the ORG traffic, avoiding the backup to use that bandwith too. Using only wan2 could lead to a little bit longer backup, but a smoother working time for the rest of the ORG

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,736 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @GiuseppeR

    Here is the solution:

    Please help to add a new policy route at the first priority. Below is the example:

    image.png

    With specific scr and dst lan IP range, the firewall will direct the matched traffic to VPN tunnel. The other traffics will follow the rest of routing rules.

    Zyxel Melen


  • GiuseppeR
    GiuseppeR Posts: 708 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Engineer Level 1 - Nebula 5 Answers First Comment
    edited April 16

    Hi @Zyxel_Melen

    Nebula did not let me use VPN tunnel for a specific IP:

    immagine.png

    As you can see I wanted to send the traffic from NAS IP to all the LAN2 subnet (on a remote Zyxel device linked in VPN) but it is grey.

    Neither via entire subnet:

    immagine.png
  • Zyxel_Melen
    Zyxel_Melen Posts: 4,736 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @GiuseppeR

    Could you help to enable Zyxel support access for me to check it?

    Zyxel Melen


  • GiuseppeR
    GiuseppeR Posts: 708 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Engineer Level 1 - Nebula 5 Answers First Comment

    Hi @Zyxel_Melen

    sure it is, sent a PM with the access to that ORG

  • Zyxel_Melen
    Zyxel_Melen Posts: 4,736 image  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @GiuseppeR

    Thanks for the privilege. Update a short conclusion in here:

    The VPN tunnel are route-based VPN, so we can reference the VPN information on VPN connections page to set the policy route rule.

    image.png
    Zyxel Melen


  • GiuseppeR
    GiuseppeR Posts: 708 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Engineer Level 1 - Nebula 5 Answers First Comment
    edited April 17

    Hi @Zyxel_Melen

    your solution is great. 😎

    For the newbie I would like to add suggestions about how to compile the values.

    Let's make an example.

    You want to route an IP like 192.168.1.10 (or a subnet 192.168.1.0/24) to 192.168.2.0/24 via VPN tunnel made by Nebula VPN Orchestrator.

    So you have to go to this page:

    immagine.png

    Take note about YOUR values under VTI IP and place them here (Melen reference guide in the post above):

    immagine.png

    I have 2 locations, so blue VTI IP is needed to reach 192.168.3.1/24 subnet and the red one accordingly to reach 192.168.2.1/24 subnet

Nebula Tips & Tricks