Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 20:21:58 -0400
From:      Jack Barber <jack@nyi.net>
To:        freebsd-ipfw@freebsd.org
Subject:   trouble with ipfw on FreeBSD 10
Message-ID:  <5429F7A6.3060701@nyi.net>

next in thread | raw e-mail | index | archive | help
We are having trouble getting ipfw to work over a bridged interface.

for example:

machine 1 -> Bridged interface FreeBSD 10 -> machine 2.

machine 1 - 192.168.20.20
machine 2 - 192.168.20.25

now I set something like this in /etc/ipfw.rules:

$IPFWcmd add deny all from 192.168.20.20/24 to any
$IPFWcmd add deny all from any to 192.168.20.20/24

where both machine 1 and machine 2 are on said subnet and already work.

when I reload the rules, I am unable to stop a connection between
machine 1 and machine 2.

I've already made sure that ipfw is running(loaded), and the rules
appear to take, and even show up with "ipfw show".

# ipfw show
...
01700    0        0 deny ip from 192.168.20.0/24 to any
01800    0        0 deny ip from any to 192.168.20.0/24
65535 9227 11389032 allow ip from any to any

However, there is no effect on data travelling over the pipe at all.

This setup was confirmed many times to work with FreeBSD 9.2, but it
does not work on 10. any help is appreciated.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5429F7A6.3060701>