RE: A question and a little ascii art

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry but i think my explanation in some point was wrong

       _________Machine A
      /
   Internet
      | _____200.68.69.XXX
      |/
  Fw / Apache
      |\
      | \____192.168.0.254
      |
      |
   --------------------------------------
   |                  |                  |
192.168.0.1        192.168.0.25        192.168.0.XXX
 NT / IIS

1) The goal is: Folowing one link at my isp to 200.68.69.XXX:someport
(in my case 15000) to launch an app located in my NT box. (This point
works fine only FROM Internet not from my LAN)
2) When im pointing from my LAN to 200.68.69.XXX:15000 (this is because
the main app page (not application) is located at my ISP) cant see de
IIS (and i think that i must be automaticaly delivered to)

Maybe this short (uh)!! Explanation can help

Yours,
Leonardo      


-----Mensaje original-----
De: Maciej Soltysiak [mailto:solt@xxxxxxxxxxxxxxxxx] 
Enviado el: Jueves, 16 de Octubre de 2003 01:47 p.m.
Para: Leonardo Santagostini
CC: netfilter@xxxxxxxxxxxxxxxxxxx
Asunto: Re: A question and a little ascii art


> But on the LAN side (162.168.0.0) i cant see the app pointing to 
> 200.68.69.xxx:15000
Not :15000, follow this:

Some host A(a.b.c.d) asks 200.68.69.1 asks for a connection, we see
this:

1. Start connection:
	a.b.c.d:1025 -> 200.68.69.1:15000

2. Do NAT:
	200.68.69.1:15000 -> 192.168.0.1:80

3. 192.168.0.1 sends the reply, you should see:
	192.168.0.1:80 -> a.b.c.d:1025

So you won't see packets destined for the firewall with port 15000, but
you'd rather see packets that are destined for a.b.c.d:1025

By 1025 I mean a random high port that will be the clientside port for
that particular connection.

Regards,
Maciej



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux