From: "Leonardo Santagostini" Subject: A question and a little ascii art Date: Thu, 16 Oct 2003 13:26:44 -0300 Sender: netfilter-admin@lists.netfilter.org Message-ID: <000e01c39402$49e648e0$1900a8c0@celletech.com.ar> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C393E9.249910E0" 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_000F_01C393E9.249910E0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Here is my litle ascii art :-| internet | ____________200.68.69.xxx | / firewall | \________192.168.0.254 --------------------------- | | 192.168.0.1 192.168.0.25 In the 192.168.0.1 i'm publishing some app made in home at port 80 But on the public ip of mi FW im publishing my web page too The question is: I can view my app on 192.168.0.1 trough the following rule iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 15000 -j DNAT --to 192.168.0.1:80 But on the LAN side (162.168.0.0) i cant see the app pointing to 200.68.69.xxx:15000 Any idea, suggestion ??? Thanks in avance, Yours, Leonardo ------=_NextPart_000_000F_01C393E9.249910E0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable A question and a little ascii art

Here is my litle ascii art :-|

        = internet
         &nbs= p; |  ____________200.68.69.xxx
         &nbs= p; | /
       = firewall
         &nbs= p; | \________192.168.0.254
       = ---------------------------
       = |            =              = |
192.168.0.1      = 192.168.0.25


In the 192.168.0.1 i'm publishing some = app made in home at port 80
But on the public ip of mi FW im = publishing my web page too
The question is:
I can view my app on 192.168.0.1 = trough the following rule
    iptables -t nat -A = PREROUTING -p tcp -i eth0 --dport 15000 -j DNAT --to 192.168.0.1:80 =
But on the LAN side (162.168.0.0) i = cant see the app pointing to 200.68.69.xxx:15000

Any idea, suggestion ???

Thanks in avance,
Yours,
Leonardo

------=_NextPart_000_000F_01C393E9.249910E0--