From: "Leonardo A. de Camargo" Subject: NAT, SNAT, FORWARD, what i use ? Date: Thu, 31 Oct 2002 10:20:25 -0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C280C7.2107C600" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C280C7.2107C600 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, my first message on the list, hope it doesnt sucks. I have machines xxx.zzz.yyy.www (conected to internet, via eth0) and a 196.10.10.2. They are conected to each other with cable pluged in both eth1. Looks like this ----------------eth0(xxx.zzz.yyy.www)eth1----------------------eth1(196.10.1 0.2) internet cable xxx.zzz.yyy.www is running iptables with drop policy on input, output and forward chains. I have services like telnet and www running on the 196.10.10.2. I want that a connection, telnet(23) and www(80), to xxx.zzz.yyy.www be redirected to 196.10.10.2. (Somekind of a DMZ). And im lost, tried some tutorials and man pages and couldnt build workin rules for it. Any tips, advices, rules or even candies are welcome. Thanks in advance, Leonardo ------=_NextPart_000_0003_01C280C7.2107C600 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,=20
my = first message on=20 the list, hope it doesnt sucks.
 
I have = machines=20 xxx.zzz.yyy.www (conected to internet, via eth0) and a=20 196.10.10.2.
They = are conected to=20 each other with cable pluged in both eth1.
Looks = like=20 this
 
----------------eth0(xxx.zzz.yyy.www)eth1-----= -----------------eth1(196.10.10.2)
internet      &n= bsp;           &nb= sp;           &nbs= p;            = ;       =20 cable
 
 
xxx.zzz.yyy.www is=20 running iptables with drop policy on input, output and forward=20 chains.
 
I have = services like=20 telnet and www running on the 196.10.10.2.
 
I want = that a=20 connection, telnet(23) and www(80), to xxx.zzz.yyy.www be redirected to=20 196.10.10.2.  (Somekind of a DMZ).
 
And im = lost, tried=20 some tutorials and man pages and couldnt build workin rules for=20 it.
 
Any = tips, advices,=20 rules or even candies are welcome.
 
 
Thanks = in=20 advance,
 
Leonardo
------=_NextPart_000_0003_01C280C7.2107C600--