[ previous ] [ next ] [ threads ]
 From:  Chris Buechler <cbuechler at gmail dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] setup ip alias
 Date:  Wed, 6 Apr 2005 23:06:19 -0400
On Apr 6, 2005 9:10 PM, Boris Rudoy <boris at rudoy dot com> wrote:
> I don't know how to name it corectly.
> I have hardware device in the local network witch communicate with external
> server (looks like by public IP address)
> I want to "reroute" this communication to my server.
> For example device request connection with address,  but instead
> of this will be connected to
> In case of  using domain name I can setup DNS forwarder. Any idea how to
> setup m0n0 in case of using IP ?

Use 1:1 NAT between that public IP and private IP, and put rules on
the WAN allowing the traffic you need inbound (if any) to destination
of the private IP.