From: vaida bogdan <vaida.bogdan@gmail.com>
To: netfilter@lists.netfilter.org
Subject: prerouting and postrouting + clamav + clamsmtpd
Date: Sat, 19 Feb 2005 14:54:34 +0200 [thread overview]
Message-ID: <12848a3b050219045423ee8992@mail.gmail.com> (raw)
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.
reply other threads:[~2005-02-19 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12848a3b050219045423ee8992@mail.gmail.com \
--to=vaida.bogdan@gmail.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.