Our config here...

Requirements: 
- Install tftp-hpa package
- Install bash-static package (an error is indicated but can be ignored)
- execute 'rehash'
- Create the next script

------------------------
!#/usr/local/bin/bash

fw=`hostname | cut -d. -f1`

cp /cf/config/config.xml /tmp/$fw-config -v
cd /tmp
tftp -m binary 10.1.255.1 -c put $fw-config $fw-config 
tftp -m binary 10.1.255.2 -c put $fw-config $fw-config 
rm /tmp/$fw-config
exit 0
------------------------

- Configure a cron job in the pfsense with the best frequency for your
environment.
- In the remote TFTP servers configure a cron job to move the files from
the tftp directory to a better place.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to