Selected LAN IP via selected WAN to internet

Options
GiuseppeR
GiuseppeR Posts: 104  Ally Member
First Anniversary 10 Comments Friend Collector
Hello,
I know than you can configure LAN1 to exit via WAN1, LAN2 with WAN2 and so on.
That is an interface rule so it works.

Due to poor internet connections I would like to let 1 specific IP on LAN1 to go on internet via WAN1 while the other PCs on LAN1 go via WAN2.
I need to have that specific IP (the one that has to go via WAN1) in LAN1 to let it works as a file/app server with an old software.

Is there any solution?
Thanks

Best Answers

  • Zyxel_Jeff
    Zyxel_Jeff Posts: 1,066  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Answer ✓
    Options
    GiuseppeR

    You can create policy route settings (1). LAN1 to WAN1(the next hop choose to WAN1)  (1). LAN2 to WAN2(the next hop choose to WAN2), as below:



    Thanks :) .
  • GiuseppeR
    GiuseppeR Posts: 104  Ally Member
    First Anniversary 10 Comments Friend Collector
    Answer ✓
    Options

    Thanks, I played with that too.
    I can add to forum users that you have to select the routing policies for telling firewall (nebula or not) that a specific IP has to go to internet via a specific WAN.
    The most important thing is the order (priority column, first one on the left) you use to route packets.

    If you need a specific IP via a specific WAN, the rule has to be like:
    Source -> My_IP
    Destination -> Any
    Service -> Any
    Next-Hop -> WAN1

    Please consider that My_IP is a value (or an object) described with your specific IP that you need that goes via WAN1.
    WAN1 is an example of WAN you have onboard, anyway its value is related to the WAN you want that My_IP has to go through.

    The principle of operation (what I wrote above, aka the priority column) is that the firewall has to pickup packets in the order you need following the rules it reads in routing policies.


    Have a nice day.


All Replies

  • mMontana
    mMontana Posts: 1,300  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    Policy routing.
  • Zyxel_Jeff
    Zyxel_Jeff Posts: 1,066  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Answer ✓
    Options
    GiuseppeR

    You can create policy route settings (1). LAN1 to WAN1(the next hop choose to WAN1)  (1). LAN2 to WAN2(the next hop choose to WAN2), as below:



    Thanks :) .
  • GiuseppeR
    GiuseppeR Posts: 104  Ally Member
    First Anniversary 10 Comments Friend Collector
    Answer ✓
    Options

    Thanks, I played with that too.
    I can add to forum users that you have to select the routing policies for telling firewall (nebula or not) that a specific IP has to go to internet via a specific WAN.
    The most important thing is the order (priority column, first one on the left) you use to route packets.

    If you need a specific IP via a specific WAN, the rule has to be like:
    Source -> My_IP
    Destination -> Any
    Service -> Any
    Next-Hop -> WAN1

    Please consider that My_IP is a value (or an object) described with your specific IP that you need that goes via WAN1.
    WAN1 is an example of WAN you have onboard, anyway its value is related to the WAN you want that My_IP has to go through.

    The principle of operation (what I wrote above, aka the priority column) is that the firewall has to pickup packets in the order you need following the rules it reads in routing policies.


    Have a nice day.


Nebula Tips & Tricks