From: Nicolas Grossi <nicolas.grossi@gmail.com>
To: netfilter@vger.kernel.org
Subject: question about using iptables.
Date: Wed, 15 Apr 2009 10:45:22 -0300 [thread overview]
Message-ID: <49E5E4F2.2070502@gmail.com> (raw)
People:
I´m new using iptables and i want to know if it is possible
to forward all the packages to a specific port to a specifica ip
address. This is my environment and what i need to do:
I have a lan under 190.168.0.x
then a have a gateway with iptables + ipcop to filter all packages to
WAN (internet)
My ISP give us a set o public ips and all the packages from the lan to
the wan use one public ip (one from that set) = 190..139.106.194
Currently our smtp server is been considered as SPAM for a few domains
(and we need to change this ASAP).
It is poosible to configure iptables to set all the packages from
190.168.0.x:25 (smtp port) to use a different public ip addres of the
set that our isp gives us?
brieflly:
all packages from our lan to a port different to 25 use 190..139.106.194
and all packages from our lan to port 25 use 190.139.106.195
Thanks in advance!
Nico
next reply other threads:[~2009-04-15 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-15 13:45 Nicolas Grossi [this message]
2009-04-15 13:53 ` question about using iptables Gáspár Lajos
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=49E5E4F2.2070502@gmail.com \
--to=nicolas.grossi@gmail.com \
--cc=netfilter@vger.kernel.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.