On Sat, Jan 10, 2009 at 3:45 AM, Dominik Schips <domi...@s235.de> wrote: > Hello, > > I am using pfSense 1.2.2 and it is wonderfull. > > However I have one problem with SIP (port 5060) calls. > My (german) provider does every 24 hours a reconnect of the ADSL line > (PPPoE). Normally that is never a problem. I set the reconnect to 5:30 > in the morning. > > I use siproxd to pass the SIP connections to a SIP phone. It works > without problems. But after the 24 hour reconnect I still have the old > public IP at the state for the port 5060. So I can not make a new call > before I delete the second rule at the states diagnostic page. > > udp 217.10.x.x:5060 <- 192.168.1.100:5060 MULTIPLE:MULTIPLE > udp 192.168.1.100:5060 -> 92.227.x.x:5060 -> 217.10.x.x:5060 > MULTIPLE:MULTIPLE > > 217.10.x.x is the sip provider asterisk server. > 92.227.x.x is my public IP (for the current 24 hours). > 192.168.1.100 is my SIP phone at the LAN. > > After deletion the new rule (with new public IP) appears and SIP calls > are possible again without problems. > > Does somebody has an idea or could explain me how to make a cronjob by > ssh login to delete all states for port 5060 every 24 hours?
You'll want to do: pfctl -k 217.10.x.x in your cron job. http://forum.pfsense.org/index.php?topic=8485.msg47601 has some good information on setting up cron jobs. A scheduled rule might also solve your problem. --Bill --------------------------------------------------------------------- To unsubscribe, e-mail: support-unsubscr...@pfsense.com For additional commands, e-mail: support-h...@pfsense.com Commercial support available - https://portal.pfsense.org