How to forcefully mark down pfSense Gateway as down

I have two internet connections (fiber and 4G LTE) configured in load balanced mode using pfSense FreeBSD based firewall. One of my wan connection is running out of bandwidth quota. How can I force and turn off this interface to save bandwidth until month end and enable it again from next billing cycle?

You can force gateway to be considered down and removed temporarily from load balanced internet connection. You do not have to make any other changes to the firewall. This feature is inbuilt directly into pfSense itself.

Mark Gateway as down in pfSense

First, login to your admin interface.

Next visit System > Routing

Fig.01: Routing

Click on Edit gateway icon for “A_4G_WAN” (4G LTE gateway which is running out of bandwidth) > scroll down and select “Mark Gateway as Down” option:

Fig.02: Mark Gateway as Down

Click on the “Save” button > Apply changes.

That is all. Now your 4G internet connection disabled, and your firewall should work in failover mode over other internet connection. To verify new settings click on Status > Gateways:

Fig.03: Gateways status

You can reverse force state gateway anytime and bring back the internet interface into production again by visiting System > Routing > Edit Gateways button > Remove “Mark Gateway as Down” option > Save > Apply changes.

I hope this simple technique may help someone to save money or some other purposes as per your local requirements without removing load-balanced links.

Related: How to configure pfSense as multi wan (DUAL WAN) load balance failover

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Charles mbise Oct 31, 2016 @ 17:01

    Hello there, i need to know more about networking

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum