Re: nat on addresses with different default routes

2015-07-19 Thread lausgans
18 июля 2015 г., в 1:34, Giancarlo Razzolini grazzol...@gmail.com написал(а): Em 17-07-2015 17:38, lausg...@gmail.com escreveu: Thanks much for all your good help! I will try it. No problem. For now I'm just still using probabilistic rules with quick keyword + fallback rule but

Re: nat on addresses with different default routes

2015-07-17 Thread lausgans
9 июля 2015 г., в 17:14, Giancarlo Razzolini grazzol...@gmail.com написал(а): Em 09-07-2015 02:27, lausg...@gmail.com escreveu: Thank you for the answer! Indeed its a more correct approach. Is there a simple way to teach (any openbsd compliant) dhcp client to use mpath? Also not sure

Re: nat on addresses with different default routes

2015-07-17 Thread Giancarlo Razzolini
Em 17-07-2015 14:17, lausg...@gmail.com escreveu: Ok, so isc-dhclient + dhclient-script with this modificationhttp://www.rinta-aho.org/docs/openbsd-pf/dhclient-script.patch supplied to it + route-to rules used like inhttp://www.rinta-aho.org/docs/openbsd-pf/pf.conf do work. Nice to hear

Re: nat on addresses with different default routes

2015-07-17 Thread Giancarlo Razzolini
Em 17-07-2015 17:38, lausg...@gmail.com escreveu: Thanks much for all your good help! I will try it. No problem. For now I'm just still using probabilistic rules with quick keyword + fallback rule but using mpath instead of rdomain and this works smoothly now! If I recall correctly, you

Re: nat on addresses with different default routes

2015-07-17 Thread lausgans
17 июля 2015 г., в 22:35, Giancarlo Razzolini grazzol...@gmail.com написал(а): Em 17-07-2015 14:17, lausg...@gmail.com escreveu: Ok, so isc-dhclient + dhclient-script with this modificationhttp://www.rinta-aho.org/docs/openbsd-pf/dhclient-script.patch supplied to it + route-to rules

Re: nat on addresses with different default routes

2015-07-09 Thread Giancarlo Razzolini
Em 09-07-2015 02:27, lausg...@gmail.com escreveu: Thank you for the answer! Indeed its a more correct approach. Is there a simple way to teach (any openbsd compliant) dhcp client to use mpath? Also not sure whether it will work in this case:http://www.rinta-aho.org/blog/?p=214 I don't recall

nat on addresses with different default routes

2015-07-08 Thread lausgans
My isp gives me a bunch of dynamic external ip addresses via dhcp one per nic. They don't share common default gateway route all together, so I'm forced to put each next in its own rdomain. As so, http://www.openbsd.org/faq/pf/pools.html#nat or http://www.openbsd.org/faq/pf/pools.html#outgoing

Re: nat on addresses with different default routes

2015-07-08 Thread Giancarlo Razzolini
Em 08-07-2015 15:05, lausg...@gmail.com escreveu: My isp gives me a bunch of dynamic external ip addresses via dhcp one per nic. They don't share common default gateway route all together, so I'm forced to put each next in its own rdomain. As so, http://www.openbsd.org/faq/pf/pools.html#nat

Re: nat on addresses with different default routes

2015-07-08 Thread lausgans
I've added quick word to the probabilistic rules and it works better, but still not sure how to deal with vether.   Исходное сообщение   От: lausg...@gmail.com Отправлено: среда, 8 июля 2015 г., 21:05 Кому: misc@openbsd.org Тема: nat on addresses with different default routes My isp gives me

Re: nat on addresses with different default routes

2015-07-08 Thread lausgans
Giancarlo Razzolini grazzol...@gmail.com: Em 08-07-2015 15:05, lausg...@gmail.com escreveu: My isp gives me a bunch of dynamic external ip addresses via dhcp one per nic. They don't share common default gateway route all together, so I'm forced to put each next in its own rdomain. As