On 2007/07/09 02:20, Bohdan Tashchuk wrote: > I've had a DSL connection, just added a cable modem. DSL has static IP, > cable modem IP assigned by DHCP (which becomes default route).
Have a read of http://www.openbsd.org/faq/pf/pools.html#outgoing and pf.conf(5) about the suggested options, play with it for a bit, if you have any problems do lots of logging of PF rules and watch with tcpdump -nettipflog0 and run tcpdump on the various interfaces to see how packet headers are rewritten and where they exit the system. If you get stuck come back with configs and more info.