jaredhendrickson13 / pfsense-automator

pfSense Automator - a command line tool to make pfSense configurations
18 stars 4 forks source link

User Issue #14

Open Methraton opened 4 years ago

Methraton commented 4 years ago

Hi Jared, I dont know if this is the good way to contact you. please be patient. I’m trying to test pfa_automator on a test pfsense 2.4.4 installation, using ubuntu as a client to connect from. I have downloaded the executable from github code releases pfsense-automator (beta) v0.0.3

then following the instruction I did a tar xvzf on pfsense-automator_v0.0.3_ubuntu1804.tar.gz

Now I have a pfsense-automator_v0.0.3_ubuntu1804 folder : inside there is a pfsense-automator executable

I don’t see a pfa_installer

Now it seems to me that some command are not working: this one works

./pfsense-automator 192.168.204.1 --read-interfaces
Please enter username: admin
Please enter password: 
NAME-------------------------- INTERFACE--------- ID------ TYPE------ CIDR---------------- ENABLED-
WAN0                           em0                wan      staticv4   10.0.5.1/24          yes     
LAN                            em2                lan      staticv4   10.0.2.1/24          yes     
SEGM3                          em3                opt1     staticv4   192.168.204.1/24     yes     
SYNC                           em4                opt2     staticv4   10.0.4.1/24          yes     
WAN1                           em1                opt3     staticv4   10.0.0.1/24          yes   

this one fails

./pfsense-automator 192.168.204.1 --read-rules
Error: Invalid argument. Unknown action `--read-rules`

this one fails too

./pfsense-automator 192.168.204.1 --read-rules --all
Error: Invalid argument. Unknown action `--read-rules`

Where I’m wrong? Can you point me in the good direction?

Thanks.

jaredhendrickson13 commented 4 years ago

Hi there,

I believe you may be looking at the documentation within the development branch rather than the master branch. The code currently in the development branch was intended for release v0.0.4, but development has since ceased in favor of an API driven approach that is in development now. The code for v0.0.4 is mostly complete, if you would still like to use the v0.0.4 code, I've attached my Ubuntu test build below. You should be able to extract the executable and immediately use it just as you did with the v0.0.3 release.

pfsense-automator_v0.0.4t_ubuntu1804.tar.gz