On 07/16/2012 08:36 AM, Fred Maillou wrote: > Hello, > > When using a simple MASQ config such as: > > dds-4-1c01ppp 172.59.1.0/24 172.59.3.10 > > It happens from time to time that after applying the config, a > 172.59.1.1 IP is not translated into .3.10. It is actually not > translated until a 'conntrack -F' is issued that flushes all > connection tracking tables. Same happens when removing the > MASQ config: .3.10 persists until a flush is made. These are > obserbed when doing a continuous ping from 172.59.1.1 to a > device beyond the device running the Shorewall config. > > And in some other times, it changes immediately. > > Is there Shorewall option that makes it so that the MASQ config > always takes effect immediately when applied and when removed ?
What you are seeing is a result of the way that connection tracking works. You can always use the '-p' option when you start/restart Shorewall (that does the 'conntrack -F' for you). If the problem happens only at boot time, then installing and configuring Shorewall-init will solve the problem. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
