With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I need to programmatically add IP addresses to an Alias in PfSense to allow access to the network.
To do this I will write out a new pfsense config.xml file, load it on the server, and load the new configuration into pfsense.
I need a shell script on the pfsense server that does the following:
- Checks for the existence of a new config.xml file on a windows based ftp server.
- If the file exists then the script needs to download the file to the pfsense config folder, reload the pfsense configuration, delete the file from the ftp server, close the ftp connection and quit.
- If the file does not exist then the script exits the FTP and quits.
I will run a cron that will check for the file every 5 min.
the command to reload the config.xml file is:
The FTP user's home directory will be where the file is located. It will be the only file in the directory.
The config.xml path is: /conf/
I would like it better if the process could be pushed...
Sign in or Register to see more