Configuring Pfsense via ssh

I want to know how i can completely configure and add add tables to pfsense via ssh. my goal is to have a web installer that configured multiple system and based on the output it will configure the pfsense firewall.

via the ssh, configure wan, lan automatically enable port 80, 22, etc. based on a conf.txt configuration file.

Thanks


Solution 1:

Perhaps its easier when you have a look at ansible and playbooks. There are some playbooks for pfsense and i think you find some more. There you can make templates and configure your firewall over ssh with ansible.

https://github.com/amatas/ansible-pfsense
http://docs.ansible.com/playbooks.html