Skip to content

binou-31/pfsense-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pfSense usefull scripts

License: GPLv3

List of scripts

installer_rst-sip-provider.sh

To make a suitable solution to reset states with an external SIP Provider after failback to primary gateway

Caution : It use Afterfilterchangeshellcmd feature and can broke your custom configuration if you already use it

  1. How to install
curl -s https://raw.githubusercontent.com/binou-31/pfsense-scripts/master/installer_rst-sip-provider.sh | sh -s $SIP_PROVIDER_URL

| Where SIP_PROVIDER_URL variable is your sip domain/IP (e.g. : sip.provider.fr)

  1. What does it do

    • It create script /usr/local/bin/rst-sip-provider.sh
    • It install ShellCMD package to allow modification of the script launcher from the webGUI
    • It change the configuration /conf/config.xml to work it
  2. To verify that it works

# Execute
/etc/rc.filter_configure_sync

# You should seeing in the /var/log/system.log
clog -f /var/log/system.log
Apr 13 19:43:41 <hostname> /usr/local/bin/rst-sip-provider.sh[85545]: Reset States for SIP Provider (sip.provider.fr) killed 2 states from 1 sources and 1 destinations

About

Usefull pfsense-scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages