Date: Thu, 9 Sep 2004 00:56:25 +0200 From: Michael Knudsen <none@e--molioner.dk.lh.bsd-dk.dk> To: bsd-dk@bsd-dk.dk Subject: Re: To subnets til to ADSL linier med pf
Quoting Anders S. Jensen (doozer@rocketmail.com):
> Er der nogen er har en ide til hvilken retning jeg skal kigge i?
Har du kigget paa `route-to'-muligheden i pf?
route-to
The route-to option routes the packet to the specified interface
with an optional address for the next hop. When a route-to rule
creates state, only packets that pass in the same direction as
the filter rule specifies will be routed in this way. Packets
passing in the opposite direction (replies) are not affected and
are routed normally.
Dette burde vist kunne goere, hvad du oensker. Du skal nok bare lave
lidt om i dette eksempel for at kunne bruge det:
http://www.openbsd.org/faq/pf/pools.html#outgoing
Indtil for kort tid siden saa det ud til, at OpenBSD 3.6 ville komme med
understoettelse af routing baseret paa source, men der var problemer med
koden, saa det blev fjernet igen. Dette var ikke baseret paa
IP-optionen.
Mvh. Michael.
-- <soaplove> reverse: yah, totallu. <soaplove> Looks like some of my y fell off in transit. TCP sucks.
This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:43 CET