Archived from groups: alt.os.linux,alt.os.linux.redhat,comp.security.firewalls,redhat.networking.general (More info?)
Hi, Im new to iptables, but I wish to configure our firewall running redhat
linux iptables to forward as follow:
- forward traffic port 25 ip source from 123.123.123.123 to a server
internally;
- forward traffic port 25 ip source not from 123.123.123.123 to a server
externally;
is it possible to achieve the above, anyone can give a code or two
many thanks in advance
Archived from groups: alt.os.linux,alt.os.linux.redhat,comp.security.firewalls,redhat.networking.general (More info?)
Jemy wrote:
> Hi, Im new to iptables, but I wish to configure our firewall running redhat
> linux iptables to forward as follow:
> - forward traffic port 25 ip source from 123.123.123.123 to a server
> internally;
> - forward traffic port 25 ip source not from 123.123.123.123 to a server
> externally;
> is it possible to achieve the above, anyone can give a code or two
> many thanks in advance
For RH and Fedora, edit /etc/sysconfig/iptables to include something
like the following. Watch out for line wraps.
Archived from groups: alt.os.linux,alt.os.linux.redhat,comp.security.firewalls,redhat.networking.general (More info?)
Thanks Allen, that does the job.. brilliant =)
"Jemy" <cutejemy@REMOVEhotmail.com> wrote in message
news:40f34926@news.starhub.net.sg...
> Hi, Im new to iptables, but I wish to configure our firewall running
> redhat linux iptables to forward as follow:
> - forward traffic port 25 ip source from 123.123.123.123 to a server
> internally;
> - forward traffic port 25 ip source not from 123.123.123.123 to a server
> externally;
> is it possible to achieve the above, anyone can give a code or two
> many thanks in advance
>
Archived from groups: alt.os.linux,alt.os.linux.redhat,comp.security.firewalls,redhat.networking.general (More info?)
On Tue, 13 Jul 2004 10:31:22 +0800, Jemy wrote:
> Hi, Im new to iptables, but I wish to configure our firewall running redhat
> linux iptables to forward as follow:
> - forward traffic port 25 ip source from 123.123.123.123 to a server
> internally;
> - forward traffic port 25 ip source not from 123.123.123.123 to a server
> externally;
> is it possible to achieve the above, anyone can give a code or two
> many thanks in advance
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.