quick pf source-based routing question
CyberLeo Kitsana
cyberleo at cyberleo.net
Thu Aug 30 08:01:08 PDT 2007
Eric Crist wrote:
> Hey,
>
> We have a problem here at the office that I'd like to solve with pf and
> source-based routing.
>
> How would I write a rule with pf to route any traffic from 10.1.1.1
> across a specific interface?
Perhaps some permutation of the following?
pass in on $int_if route-to { ($ext1_if $ext1_gw) } round-robin from
$int_net to $ext1_net keep state
Where *_if is the interface name, *_gw is the gateway address, and *_net
is the subnet/mask of that interface.
--
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>
Furry Peace! - http://wwww.fur.com/peace/
More information about the freebsd-questions
mailing list