[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: port forwarding examples?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: port forwarding examples?
- From: Daniel Hartmeier <daniel_(_at_)_benzedrine_(_dot_)_cx>
- Date: Wed, 17 Oct 2001 01:16:29 +0200
On Wed, Oct 17, 2001 at 12:37:29AM +0200, Martin Maciaszek wrote:
> I'm trying to set up a HBCI banking software. For this I need to forward
> port 3000/tcp from my OpenBSD DSL router to a Windoze box behind NAT and
> back. I guess I could use rdr to forward port 3000/tcp to the Windoze box.
> But how to I get connection from the Windoze box come from port 3000/tcp on
> the router? I'm using 3.0-beta.
The rdr will cover packets that the Windows machine sends back as part
of the connection being redirected. These replies will appear to come
from port 3000 of the gateway (where the external host connected to).
Or does the Windows machine also initiate connection to external hosts?
In this case, you'd have to use nat as well. This would mean the
connection appears to originate from a random proxy port (!= 3000) on
the gateway to the external host.
If you have a spare routable address for the gateway, you can use binat
to create a bidirectional mapping, and outgoing connections would
originate from port 3000 as well.
Does the protocol require a _source_ port 3000?
Visit your host, monkey.org