Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Magnus Solvang <magnus@solvang.net>
To: netfilter@lists.samba.org
Subject: Re: Port Forwarding for port 25 (again...)
Date: Tue, 25 Feb 2003 04:33:29 +0100	[thread overview]
Message-ID: <20030225033329.GA1815@first.knowledge.no> (raw)
In-Reply-To: <200302242153.47253.netfilter@newkirk.us>

Quoting Joel Newkirk (netfilter@newkirk.us):
[...]
| > But a telnet to the old, external ip-address of the mailserver
| > just hangs (untill it returns a "No route to host".
| 
| Which sums it up pretty accurately, I suspect.  If the firewall has an 
| external IP x.y.z.49, then it will handle traffic to that IP.  If the MX 
| (or your telnet test) points to x.y.z.34, then the upstream router will 
| be looking for something that responds to _that_ IP.  If it cannot find 
| anything using that IP, then there is no route.

Hm... A logical error, in other words. *must* *get* *sleep* *now*...
Somehow I thought that the firewall would notice the connection attempt
from the router, and would be able to redirect the query from there.

| Presuming that x.y.z 
| are the same in both cases, you may get the results you want with:
| 
| ifconfig eth0:1 add x.y.z.34

I have it working now, thanks to you :)

- M


  reply	other threads:[~2003-02-25  3:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25  0:54 Port Forwarding for port 25 (again...) Magnus Solvang
2003-02-25  2:53 ` Joel Newkirk
2003-02-25  3:33   ` Magnus Solvang [this message]
2003-02-25 22:54 ` Willem Oldeman

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=20030225033329.GA1815@first.knowledge.no \
    --to=magnus@solvang.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