[ previous ] [ next ] [ threads ]
 From:  "Adam Wilks" <adam dot wilks at weymouthwireless dot co dot uk>
 To:  "Monowall Mailing List" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Half-bridge modem routing fix
 Date:  Thu, 11 Nov 2004 17:06:04 -0000
Some time back I started talking to some people about types of ADSL
modem which can be used to pass the public WAN IP address to m0n0’s
interface. Some suggestions were the X-Modem and also the DLink DSL300T.
The issue with using such half-bridge modems with m0n0 is that after an
IP change two commands need to be issued to correct the routing table
(as suggested by Chris Bagnall). After much frustration and tinkering, I
have produced a patched file which automates this :)
Thought I would share it with anyone who is experiencing the same
problems, and it can be downloaded here…
The file contains these extra lines of code…
    route delete default >/dev/null 2>&1
    route add default -interface -link rl1 >/dev/null 2>&1
    $LOGGER "X-Modem fix executed from /sbin/dhclient-script"
This may be a ‘clumsy’ approach, I am no expert so please feel free to
improve it for me :)
Any chance there could be a future release of m0n0 with an option on the
GUI for this?

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004