Linux Netfilter discussions
 help / color / mirror / Atom feed
* prerouting and postrouting + clamav + clamsmtpd
@ 2005-02-19 12:54 vaida bogdan
  0 siblings, 0 replies; only message in thread
From: vaida bogdan @ 2005-02-19 12:54 UTC (permalink / raw)
  To: netfilter

My network design looks like this:

WIN1
WIN2    -    GW1    -   MAIL SERVER    -   GW2
WIN3

GW1 iptable rules:
PREROUTING
REDIRECT   tcp  --  eth0:1/24  MAIL_SERVER     tcp dpt:smtp redir ports 10025
POSTROUTING
SNAT       all  --  eth0:1/24  anywhere       to:eth0



WIN are on the internal network, GW1 does SNAT. I've had a lot of
virii problems on the internal network but MAIL SERVER logs show the
GW1 ip. I installed clamav+clamsmtpd and added the PREROUTING rule.
The problem is I don't get connections on localhost:10025. I can't
access the internal network (WIN) to telnet and check why. Does the
current firewall configuration have any flaw? I added the PREROUTING
rule to pass any traffic to the MAIL_SERVER through clamsmtpd for
scanning.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-19 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-19 12:54 prerouting and postrouting + clamav + clamsmtpd vaida bogdan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox