On 20 August at 03:36, Stefan wrote:
> All what i want is to setup monowall to send traffic from one to the other
> interface. I am not 100 % sure whether its only possible with the use of
> bridgeing or not. If anyone know a other solution that works fine let me
m0n0wall isn't designed to bridge with 2 interfaces only, but you
can do it using <shellcmd> in your config.xml file. For example,
if you have two Intel EtherExpressPro 100 cards, the following
shellcommands set up the bridge:
<shellcmd>/sbin/sysctl net.link.ether.bridge_cfg=fxp0,fxp1</shellcmd>
<shellcmd>/sbin/sysctl net.link.ether.bridge_ipf=1</shellcmd>
<shellcmd>/sbin/sysctl net.link.ether.bridge=1</shellcmd>
The only problem I found was that filtering rules are not well
suited for 2-NICs filtering, so you have to change them, and using
shellcmd is of no help for that purpose as predefined rules
overwrite those you might enter using <shellcmd> in config.xml. Thus
you have to modify /etc/inc/filter.inc to add specific rules for
your bridge.
gb |