Manuel Bouyer
2020-10-11 10:33:14 UTC
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.
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 <***@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Manuel Bouyer <***@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de