add nat & fw rules over script over SSH
-
Dear All
I am have a questions
there are any way to add rules over script ?
I need to add more 1000 rules i will like to make some automation over this.
Thank you
Kind Regards.
-
I have done this in the past by just editing the config file directly. There is no easy way I'm aware of unfortunately.
-
Hi Stephenw10.
Nice to meet you.
Thank you for the replay.
Is not any command like .add rules .......
will be nice get this functions done. of some command line. in Datacenter environment is very need.
but is not possible with ansible module ?
Thank you
Kind Regards.
-
Nope not currently. The closest thing in the official release is the easyrule function:
https://docs.netgate.com/pfsense/en/latest/firewall/easyrule.html#easyrule-in-the-shell -
Thank you So Much
Will nice in near future will all some options to manage the fw & nat rules. over command line.
right now pfsense start be used very large scale in datacenter for secure layer apps.
can be i game changer for pfsense to be massive deploy a large scale.
thank you
have a nice time.