[ previous ] [ next ] [ threads ]
 From:  Egbert Jan van den Bussche <egbert at vandenbussche dot nl>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Was: how to reach modem on WAN port
 Date:  Thu, 20 Jan 2011 21:53:12 +0100
MANY thanks Anders. This is a realy complete solution. I finally learned 
the deeper meaning of those advanced NAT settings.

The web access works fine now; I had no syslog messages yet. Maybe I did 
somthing wrong after all.

Regards, Egbert Jan

Op 20-1-2011 18:51, Anders Hagman schreef:
> 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
> 3.1 Syslog needs four things. First add server NAT external address.
> External address of the syslog server
> 3.2 Make an inbound NAT rule for syslog. is the syslog
> address on the inside.
> WAN UDP 514 514 trap syslog
> (ext.:
> 3.3 Make a filter rule to accept the syslog traffic.
> UDP * 514 NAT syslog trap
> 3.4 Add a proxy arp entry to make the m0nwall answer arp requests on the
> address
> WAN NAT to syslog
> 4. Configure your modem to send syslog to
> Good luck
> Anders
> On 2011-01-19 20:10, Egbert Jan van den Bussche wrote:
>> TNX Jakob. The modem is in bridge mode indeed and PPP assigment works
>> but I would like to be able to use the web interface of the modem and
>> more important, the modem sends syslog messages which I want to
>> capture on miy server on the LAN. I seem to remember that I had this
>> working when I tested with OpenWRT, a long time ago. But I want to
>> stick to Monowall, though... I'm used to that and it serves me a well
>> for a few years already.
>> EJ