On Wed, Jun 3, 2009 at 12:00 PM, Paul Cockings <[email protected]> wrote: > Hello list, > > I have an annoyance that is driving me bonkers. I have a Windows XP client, > a pfsense 1.2.2 configured as a transparent firewall, development webserver > (FreeBSD 7.2) > > When I using SSH (Putty) or MySQL (SQLyog) to the webserver after a short > time the connection 'freezes'/'drops'. In putty i can cure this by adding > keep alive = 5 seconds. In SQLyog i'm not sure the option exists. > > I think the problem is caused the pfsense box. > > I'd be grateful of any ideas on how I might cure the 'dropped sessions' > preferably by changing something with the pfsense box rather then finding > way to do more keep alives. >
Increase state timeouts, either per-rule or globally, but don't go overboard. You shouldn't rely on inactive TCP connections staying open for a long period ( > 1 day at most) regardless of what's between the hosts. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Commercial support available - https://portal.pfsense.org
