All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Martinez <mmartinez@csrees.usda.gov>
To: "Jorge Umaña" <jorgeaub@hotmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Web server access
Date: 15 Jul 2003 10:19:05 -0400	[thread overview]
Message-ID: <1058278745.1356.9.camel@localhost.localdomain> (raw)
In-Reply-To: <Law11-F121EveicGgej0000c435@hotmail.com>

First make sure the windows box port 80 can be accessed from your Linux
box:
1. log on to your linux box
2. telnet windows-box 80

Then, make sure your Linux box port 80 is accessible from the Internet:

3. go to http://centralops.net/co/
4. use the "tcpquery" function to do a http query on your Linux box

Then, configure iptables on your Linux box. Configure to log port 80
rejects and redirects. Use the logging info to make sure the packets are
being redirected.

mike

On Mon, 2003-07-14 at 11:10, Jorge Umaña wrote:
> 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ínea mediante MSN Messenger: 
> http://messenger.yupimsn.com/
> 
> 
-- 
Michael Martinez
Linux System Administrator
ISTM/CSREES/USDA


  parent reply	other threads:[~2003-07-15 14:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 15:10 Web server access Jorge Umaña
2003-07-15 12:52 ` Ray Leach
2003-07-15 14:19 ` Michael Martinez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-15 12:44 Eugene Joubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1058278745.1356.9.camel@localhost.localdomain \
    --to=mmartinez@csrees.usda.gov \
    --cc=jorgeaub@hotmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.