Add nat rule from shell
-
Hello,
Is it possible to add and delete a NAT rule from the shell / ssh?
I want to make a script that can automatically add or delete a NAT rule if ping results fail. -
Anyone know a solution?
-
No.
-
The original script that does so isn't good enough ?
Did you have a look at this script: htttp://yourpfesense/firewall_nat_edit.php ? -
The original page is not working for me, I want a specific NAT rule only active if the internet connection (gateway) is down, otherwise the NAT rule must remain off.