How to enter firewall rules manually?
-
Hello,
As the subject says, I am interested to know if there is a way to enter firewall rules manually?
Something like this:
-A INPUT -p UDP -m length --length 42 -m recent --set --name getstatus_cod -A INPUT -p UDP -m string --algo bm --string "getstatus" -m recent --update --seconds 1 --hitcount 20 --name getstatus_cod -j DROP
Thank you!
-
i'm positive it is possible, i'm also positive its generally not a good idea todo so =-)
anyways
when enabled you can ssh to the box and drop to shell or you can also execute commands in the gui i believe (somewhere in the diagnostics menu)
If you lock yourself out, then u'll be forced to go to the physical machine and remove the rules you've set.by the way …. pfsense does not use Iptables like the ones u mention, pfsense uses a highly modified version of 'pf' afaik
http://www.openbsd.org/faq/pf/kind regards
jeroen
-
Thank you for the reply! I'll see what I can do from the GUI then.
Regards,
Nick
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.