From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugene Joubert Subject: RE: Web server access Date: Tue, 15 Jul 2003 14:44:30 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20B8C822B36ED71199D0005004D778B81512@TELECOMS04> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C34ACE.D56880E0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: =?iso-8859-1?Q?=27Jorge_Uma=F1a=27?= , netfilter@lists.netfilter.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C34ACE.D56880E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is your web server gateway set to your be that of your linux box? Have you tried using tcpdump to "see" what is happening with those = packets on that specific port? -----Original Message----- From: Jorge Uma=F1a [mailto:jorgeaub@hotmail.com]=20 Sent: 14/07/2003 05:10 PM To: netfilter@lists.netfilter.org Subject: Web server access I have a LINUX box with a public ip. I need to use iptables to send all = the=20 packages that come to the 80 port to my Web server in Windows. I am = using=20 this chain: iptables -t nat -A PREROUTING -p tcp -d $ipPUBLIC --dport 80 -j DNAT=20 --to-destination $ipWEBSERVER I tried to access my web page from outside but does not work I will appreciate your help Thanks _________________________________________________________________ Charla con tus amigos en l=EDnea mediante MSN Messenger:=20 http://messenger.yupimsn.com/ ------_=_NextPart_001_01C34ACE.D56880E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Web server access

Is your web server gateway set to your be that of = your linux box?

Have you tried using tcpdump to "see" what = is happening with those packets on that specific port?



-----Original Message-----
From: Jorge Uma=F1a [mailto:jorgeaub@hotmail.com] =
Sent: 14/07/2003 05:10 PM
To: netfilter@lists.netfilter.org
Subject: Web server access


I have a LINUX box with a public ip. I need to use = iptables to send all the
packages that come to the 80 port to my Web server = in Windows. I am using
this chain:
iptables -t nat -A PREROUTING -p tcp -d $ipPUBLIC = --dport 80 -j DNAT
--to-destination $ipWEBSERVER

I tried to access my web page from outside but does = not work

I will appreciate your help
Thanks

_______________________________________________________________= __
Charla con tus amigos en l=EDnea mediante MSN = Messenger:
http://messenger.yupimsn.com/

------_=_NextPart_001_01C34ACE.D56880E0--