Time based WAN
-
Hi,
I have slow but cheap sat Internet between 1am and 7am and expensive faster 3g at all times.
Is it possible to have both interfaces active in pfsense and swap between the two depending upon times ?
Thanks
-
https://doc.pfsense.org/index.php/Firewall_Rule_Schedules
- create a schedule
- put a schedule PASS rule above the default allow rule, with the desired 'temporary' gateway
-
Perfect.
Do I need to specify the schedule month by month or can it be a standing schedule ? -
Just ignore the "calendar" nonsense. https://redmine.pfsense.org/issues/7373
-
Just had a thought…
We run a mail server using the Sat static IP.
With a WAN based schedule would this simply redirect outbound traffic and still allow the inflow of mail via the Sat or would the Sat WAN connection completely stop?
A solution may be to run both connections during the day and prioritise the 3G over sat (if possible) then block the 3g during off peak times...
-
Just ignore the "calendar" nonsense. https://redmine.pfsense.org/issues/7373
Doesn't let me. If I try to add a time range without specifying a day I received the following error:
"At least 1 day must be selected before adding a time"I do not wish to only apply this to a specific DOM only.
-
Just had a thought…
We run a mail server using the Sat static IP.
With a WAN based schedule would this simply redirect outbound traffic and still allow the inflow of mail via the Sat or would the Sat WAN connection completely stop?
A solution may be to run both connections during the day and prioritise the 3G over sat (if possible) then block the 3g during off peak times...
just create a rule, higher up the ruleset, specifically for the mail server to use the sat ip …. mail server needs corresponding mx records to be able to receive mail