Subject: Re: mark and route traffic with two links
To: NetBSD netbsd-users <netbsd-users@netbsd.org>
From: Roberto Pereyra <pereyra.roberto@gmail.com>
List: netbsd-users
Date: 01/25/2007 07:34:25
2007/1/25, Matthias Scheler <tron@zhadum.org.uk>:
> On Wed, Jan 24, 2007 at 10:00:50AM -0800, Paul Newhouse wrote:
> >   pass in  proto tcp from $dsl_if to $dsl_net port 25 keep state
> >   pass out log on $ext_if route-to $dsl_if proto { tcp udp icmp } from \
> >          {$dsl_net} to any
> >
> > The above trap the messages going out on the wrong interface BUT, then they
> > disappear.
>
> It's not that easy. You also need to NAT accordingly. It doesn't help
> to route stuff to the other interface if it uses the wrong IP address.
>
>         Kind regards
>
> --
> Matthias Scheler                                  http://zhadum.org.uk/
>


Take a look this tutorial:

http://www.openbsd.org/faq/pf/pools.html

roberto


-- 
Ing. Roberto Pereyra
ContenidosOnline
Looking for Linux Virtual Private Servers ? Click here:
http://www.spry.com/hosting-affiliate/scripts/t.php?a_aid=426&a_bid=56