Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2007 22:12:25 -0300
From:      "Jason Hills" <jazzhills@gmail.com>
To:        ipfw@freebsd.org
Subject:   Policy Routing natd+ipfw
Message-ID:  <33910a2c0705041812s2aaf0b62t785e16abc0decee6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello.

How can I do policy routing with ipfw+natd?

I started 2 natd processes, using natd.conf and natd2.conf
respectively, but things dont work. My rules are:

ext_ifi1="em0"
ext_ifi2="em1"

divert 8668 ip from $net1 to any out via $ext_if1
divert 8669 ip from $net2 to any out via $ext_if2

divert 8668 ip from any to any via $ext_if1
divert 8669 ip from any to any via $ext_if2

My defaultrouter is the one on $ext_if1.

It works for port 8668 but doesnt work for 8669 (the second xDSL link)

-- 
Jazzie Hills



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