Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Tom Eastep <teastep@shorewall.net>
To: Big Daddy <bigdaddy@monster-solutions.net>
Cc: netfilter@lists.samba.org
Subject: Re: HTTP Port forwarding issues
Date: Mon, 08 Jul 2002 12:44:19 -0700	[thread overview]
Message-ID: <3D29EB93.9080109@shorewall.net> (raw)
In-Reply-To: 001f01c226b6$eb0a4f60$6702a8c0@internal.monstersolutions.net

Big Daddy wrote:
> all,
>      for some reason i can get my smtp and pop3 to route from 
> the  internet, but i cannot get http requests to forward correctly.
> 
>  iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport http -m 
> state --state NEW -j ACCEPT
>  iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport smtp -m 
> state --state NEW -j ACCEPT (works)
>  iptables -A FORWARD -p tcp -i eth0 -d $int_ip -p tcp --dport pop3 -m 
> state --state NEW -j ACCEPT (works)
> 
>  iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport smtp -j DNAT 
> --to-destination $int_smtp:25 (works)
>  iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport pop3 -j DNAT 
> --to-destination $int_pop3:110 (works)
>  iptables -t nat -A PREROUTING -d $ext_ip -p tcp --dport http -j DNAT 
> --to-destination $int_http:80
> 
>  web server is running IIS5.
> any help would be great!

More than likely your ISP is blocking incoming HTTP requests.

-Tom
-- 
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://www.shorewall.net
ICQ: #60745924  \ teastep@shorewall.net



  reply	other threads:[~2002-07-08 19:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-08 19:37 HTTP Port forwarding issues Big Daddy
2002-07-08 19:44 ` Tom Eastep [this message]
2002-07-08 19:51   ` Big Daddy
2002-07-08 19:56     ` Tom Eastep
2002-07-08 19:57     ` Antony Stone
2002-07-08 20:03       ` Big Daddy
2002-07-08 20:07         ` Antony Stone
2002-07-08 20:11         ` Stewart Thompson
2002-07-08 20:39           ` Big Daddy
2002-07-08 20:42             ` Antony Stone
2002-07-08 19:49 ` Antony Stone
2002-07-08 19:50 ` Stewart Thompson
2002-07-08 20:00 ` Darrell Dieringer
2002-07-08 20:25 ` Nathan Cassano
2002-07-08 20:50   ` Antony Stone
2002-07-08 21:20     ` Adam D. Barratt
2002-07-08 21:35     ` Nathan Cassano
2002-07-09  9:52       ` Jan Humme
2002-07-09 14:15         ` tcp/udp ports (was: Re: HTTP Port forwarding issues) James Sneeringer

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=3D29EB93.9080109@shorewall.net \
    --to=teastep@shorewall.net \
    --cc=bigdaddy@monster-solutions.net \
    --cc=netfilter@lists.samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox