akotlia
December 18th, 2004, 23:27
As u can see the title I need some help quickly for a porject. The scenario is this :
1 PC with 5 ethernets cards,
1-connected to one ISP we can call this XXX.XXX.XXX.XXX
2-connected to other ISP we can all this YYY.YYY.YYY.YYY
3-connected to other!! ISP obvious ZZZ.ZZZ.ZZZ.ZZZ
4-my customers 172.16.AAA.BBB
5-my services in a DMZ

I wanna use pf because I realize it potential to do queing, loadbalancing and bandwith control.
main golal is to forward P2P to use ZZZ.ZZZ.ZZZ.ZZZ and other trafic balanced between X and Y ISPs. On my DMZ I have a Mail server, Public DNS, Hosting services, more public stuff and my LAN!! behind a firewall+NAT.

I need some help with pf because I only know ipfw basics, can anyone drop me a line telling me the first aproach of a pf.conf ?

Thanks in advance to all for read.

Ariel :xmas:

bsdjunkie
December 19th, 2004, 09:38
First thing to check out would be the excellent pf FAQ at openbsd.

http://openbsd.org/faq/pf/index.html

Then I would head over to the pf repository and look at all the sample configs posted to see if one is close to what you would like to do.

https://solarflux.org/pf/

HenkeZan
January 9th, 2005, 00:41
Hi!

I myself is doing something like this, although just directing my mail traffic out through one pipe.

I would suggest you look into "route-to" filter option.
Read this = http://www.openbsd.org/faq/pf/pools.html#outgoing

You can add host/ports and such to make it more specific to the traffic you are redirecting!

/Henrik - first post :-)