From: Mekabe R. <mrm...@gm...> - 2008-04-28 10:46:29
|
Sorry; I was just going to ask again, if there is any idea about my problem... On 4/28/08, Mekabe Ramein <mrm...@gm...> wrote: > > Hi, > > > > I am using Shorewall on my home router and it runs fine. I just have one > > problem when my ppp0 interface IP address is changed. > > My internal (LAN) interface is br0 and the internet interface is ppp0 > which > > is a DSL connection to my ISP. > > All internal traffic is masquaraded to the ppp0 IP address when reaching > > internet. > > Whenever, the dsl connection is lost or shutdown intentionally, I begin to > > have problems with my nat connections. > > Especially if the connection is UDP based. > > > > For example, when I check the "shorewall show connections" output I still > > see that my Asterisk server is still sending the SIP messages to the > > internet with previous ppp0 IP address. > > > > If I shutdown the LAN interface and wait for 5 minutes, and then re-up the > > LAN interface, the connection becomes refreshed with the new ppp0 IP > > address. > > But 5 minutes is a long time. How can I force the active nat connections > to > > be reset whenever my ppp0 is down/up ? > > > > Thanks, > > ilker > > > |