[ previous ] [ next ] [ threads ]
 From:  Fred Wright <fw at fwright dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Was: how to reach modem on WAN port
 Date:  Sun, 23 Jan 2011 18:50:49 -0800 (PST)
On Thu, 20 Jan 2011, Anders Hagman wrote:

> Hi
> I have used a modem outside m0n0wall with http and syslog for some time.
> The modem has the address in my example.
> 1. First I have added a secondary address with a shell command into the
> xml file.
> <system>
> <shellcmd>ifconfig xl0 alias</shellcmd>
> 2. Turn on outbound advanced NAT and add a rule for normal traffic and
> traffic to the modem. Use the secondary address as the target address.
> This to make HTTP to the modem work.
> WAN     !     *             Normal LAN NAT
> WAN     D-Link modem

Alternatively, if the modem can be configured to use as its
default gateway, then the second NAT rule is unnecessary.


					Fred Wright