|
||||||||
A few weeks ago there was a topic about using FreeBSD and ipfilter to implement source based policy routing. An article (http://www.bsdnews.org/01/policy_routing.php) was taken informing about policy based routing with simple ipfilter rules. I've tried to create these rules via exec.php and save them in config.xml file but it seems there is no tag in xml file to do that. Please anyone could tell me how could I implement the below rules in a m0n0wall and save them in the config.xml file? pass in quick on sis0 to sis1:10.0.0.1 from 192.168.100.0/24 to any pass in quick on sis0 to sis2:20.0.0.1 from 192.168.200.0/24 to any The idea is to force the packets from 192.168.100.0/24 to be routed by sis1 via gateway 10.0.0.1 and packets from 192.168.200.0/24 to be routed by sis2 via gateway 20.0.0.1. Sis0 is my local port. Is it possible? PS.: Yes, I've read the FAQ (http://m0n0.ch/wall/docbook/faq-dualwan.html) but I think this is not the same situation. Thanks, William. -------------------------------------------------- Esta mensagem foi verificada por Ultralink-Scanner e nenhum virus foi encontrado. Web Server Ultralink: http://www.ultralink.com.br -------------------------------------------------- |