Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Kai Weber <kai.weber@glorybox.de>
To: netfilter@lists.netfilter.org
Subject: Re: What is missed for port forwarding
Date: Sun, 7 Mar 2004 10:40:13 +0100	[thread overview]
Message-ID: <20040307094013.GA3156@glorybox.de> (raw)
In-Reply-To: <200403061847.28569.Antony@Soft-Solutions.co.uk>

* Antony Stone <Antony@Soft-Solutions.co.uk>:

> Which machine is that (192.168.1.2)?   Is it the machine running the above 
> rules, or another machine on yur internal LAN, with packets being routed by 
> the netfilter box?

The router has 192.168.1.250, 192.168.1.2 is the box the packets should
be forwarded to.

> Do you have a FORWARD rule allowing traffic to 192.168.1.2:80?
> Do you have a rule allowing the reply packets (probably an ESTABLISHED,RELATED 
> rule)?

The 3 rules from my first mail are the only rules I have. All chain
policies are set to ACCEPT.

> What happens if you telnet to port 80 on 192.168.1.2?   Is there a service 
> listening on that port?

Of course there is a running Apache on that port. I have no firewall on
192.168.1.2.

The strange thing: the rule for portforwarding for SSH works. The
package counter for that rules is increasing when I try to connect to
that port. But there is now response.

--  
  Kai Weber
» kai.weber@glorybox.de   http://www.glorybox.de   gpg-key: 0x594D4132


  reply	other threads:[~2004-03-07  9:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-06 18:36 What is missed for port forwarding Kai Weber
2004-03-06 18:47 ` Antony Stone
2004-03-07  9:40   ` Kai Weber [this message]
2004-03-07  9:53     ` Antony Stone
2004-03-07 15:49       ` Kai Weber
2004-03-07 16:02         ` Antony Stone

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=20040307094013.GA3156@glorybox.de \
    --to=kai.weber@glorybox.de \
    --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