Re: quick pf source-based routing question

2007-08-30 Thread CyberLeo Kitsana
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
[EMAIL PROTECTED]

Furry Peace! - http://.fur.com/peace/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quick pf source-based routing question

2007-08-28 Thread Eric Crist

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?


Thanks!

-
Eric F Crist
Secure Computing Networks


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]