Scripting adding / removing alias host address ?
-
HI.
I have Aliases list called REMOTE, this contains a list of local IP Addresses that can route via a specific VPN Tunnel.
That is working fine and if I need to add a new device I update that list and it works.I occasionally have to add a device in for a short period and then I remove it.
I'm wondering if there is anyway to script this, to save having to login to pfSense and manually add and/or remove the entry.I know the alias list will always be called REMOTE and I know the IP Address will always be 192.168.22.150
Is there any way to automate adding the IP if it doesn't exist in this script or remove it if it does ?
Thanks
-
I've resolved this using:
https://github.com/jaredhendrickson13/pfsense-automator