From: "Kent Wang" <kwang@kwang.org>
To: netfilter@lists.netfilter.org
Subject: IP forwarding on port 80
Date: Thu, 12 Jun 2003 02:17:09 -0500 [thread overview]
Message-ID: <000301c330b2$a68c7280$0300a8c0@eclipse> (raw)
[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]
Firewall, called dscp, has these iptables settings:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- localhost.localdomain anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:sftp
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere dscp.nur.utexas.edutcp dpt:http
to:192.168.0.2
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
HTTP server has these settings:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- localhost.localdomain anywhere
ACCEPT all -- anywhere anywhere state
RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:sftp
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Firewall connects to the world via eth1 and to the HTTP server on eth0.
HTTP
server connects to the firewall on eth0 and to another machine on eth1.
I can access the HTTP server from the firewall just fine but not from
the
Internet (times out). Any clues?
[-- Attachment #2: Type: text/html, Size: 10399 bytes --]
next reply other threads:[~2003-06-12 7:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-12 7:17 Kent Wang [this message]
[not found] <00b401c331da$246caf80$7035a8c0@hoeschen>
2003-06-13 20:45 ` IP forwarding on port 80 kwang
-- strict thread matches above, loose matches on Subject: below --
2003-06-12 22:18 George Vieira
2003-06-13 7:24 ` Kent Wang
2003-06-13 8:05 ` Cedric Blancher
2003-06-10 22:08 kwang
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='000301c330b2$a68c7280$0300a8c0@eclipse' \
--to=kwang@kwang.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox