• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Schedule based routing ?

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 2 Posters 1.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    andynormancx
    last edited by May 24, 2014, 6:20 PM

    I have two WAN connections, both PPPoE, each going over a separate network card.

    I need to be able to route most out-going traffic via a different WAN gateway depending on the time of day.

    For example I need most traffic to go out via WANA during office hours Mon-Fri and via WANB at all other times. All this traffic will ne NATed.

    What is the best way to achieve this ?

    As a further complication, there are some hosts on the network that this won't apply to, they will always need to be routed via WANB. And as a final complication those hosts always routed via WANB will need to be reachable by the public IP addresses available on WANB (possibly via 1-to-1 NAT, haven't looked at that much yet.

    1 Reply Last reply Reply Quote 0
    • H
      heper
      last edited by May 24, 2014, 11:41 PM

      schedules work for that when combining it with policy routing on your firewall rules (ie specify gateway+schedule and put it above the default ruleset)

      1 Reply Last reply Reply Quote 0
      • A
        andynormancx
        last edited by May 25, 2014, 11:41 AM

        So I presumably do that by adding a couple of rules to the set for the LAN interface ?

        i.e. one rule with a schedule and the gateway for WANA and then a rule under that with no schedule for WANB, both rules matching all outgoing traffic

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by May 25, 2014, 1:37 PM

          yes

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received