Re: [pfSense] FW: Programatically add IP to Alias

2016-11-13 Thread Claus@pfSense
] FW: Programatically add IP to Alias Hi Again I now have my script running that can manipulate the definition of an alias and when I check from UI everything looks fine. However when I try to access the firewall I find that firewall engine has not been updated as if you press [Apply change] in

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-13 Thread Claus@pfSense
Hi Again I now have my script running that can manipulate the definition of an alias and when I check from UI everything looks fine. However when I try to access the firewall I find that firewall engine has not been updated as if you press [Apply change] in the UI. How do I do that from the com

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-06 Thread Moshe Katz
If this won't work for you, explain why not... > Kp > > > > -Original Message- > From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of > Claus@pfSense > Sent: Saturday, November 5, 2016 7:49 AM > To: pfSense support and discussion > Subject: [pfSen

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-06 Thread Nishant Sharma
Hi Claus, On 5 November 2016 7:36:55 PM IST, "Claus@pfSense" wrote: >This just made my day :-) > Glad that it worked for you. Cheers! Nishant -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ pfSense mailing list https://li

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-05 Thread Kelly Prescott
49 AM To: pfSense support and discussion Subject: [pfSense] FW: Programatically add IP to Alias Hi I never got an answer on my question back then, but maybe someone can help me now. Basically I want to run a service on the firewall or another system, that let me silently tell/ask the firewall (

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-05 Thread Claus@pfSense
['detail'] = implode('||',$details); pfSense shell: write_config("CB update test 01"); pfSense shell: exec Thanks a lot, Nishant. Claus -Original Message- From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Claus@pfSense Sent: Saturday, November 5

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-05 Thread Claus@pfSense
nse.org Subject: Re: [pfSense] FW: Programatically add IP to Alias Hi Claus, Here is a small script that I use to modify alias entries on around 60 firewalls in one go. If you want to append IP to the alias then you will need to query the alias values first and then add the new IP to already exi

Re: [pfSense] FW: Programatically add IP to Alias

2016-11-05 Thread Nishant Sharma
Hi Claus, Here is a small script that I use to modify alias entries on around 60 firewalls in one go. If you want to append IP to the alias then you will need to query the alias values first and then add the new IP to already existing string of IPs. Hope it helps. Regards, Nishant ==

[pfSense] FW: Programatically add IP to Alias

2016-11-05 Thread Claus@pfSense
Hi I never got an answer on my question back then, but maybe someone can help me now. Basically I want to run a service on the firewall or another system, that let me silently tell/ask the firewall (using PSK and OTP) to add my IP to a group/alias. That group/alias would the grant me other ac