tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
npf and source routing
Hello,
on a multihomed host I'd need to do some source based routing: it has 2
default routes on 2 different interfaces, I want replies to packets coming from
vlan0 to go out via vlan0, and replies to packets coming from vlan1 to go out
via vlan1. I have the default route set to the router on vlan0.
With ipf this would be something like:
pass out on vlan0 to vlan1:10.0.0.1 from 10.0.0.0/24 to any
Is it possible to do something similar with npf ? I didn't find this in
npf.conf.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index