test/mobile61.cfg
acf0bf48
 
 
 route{
 
36a0a8ee
 	(src_ip=~'(dorian)|(ekina)|(terix)' & method=~'^inv') \
acf0bf48
 				forward(centauri.fokus.gmd.de);
36a0a8ee
 	src_ip=~"^192\.168\.[0-9]{1,3}\.[0-9]{1,3}$"  \
acf0bf48
 				log(1,"msg. from a private network\n"); route(1);
 	src_ip==0.0.0.0/0   log(1, " droping msg\n"); drop;
 }
 
 route[1]{
63fa628f
 	src_ip==192.168.46.61  log("possible loop, dropping\n"); drop;
 	(src_ip==192.168.46.0/24) log("routing with rt2\n");route(2); log("we're back\n");
 	src_ip==0.0.0.0/0 log(1, "we'll drop this one too\n"); drop;
acf0bf48
 }
 
 route[2]{
36a0a8ee
 	(method=~'^ACK' and uri=~'.*fokus') forward("fox.iptel.org");
 	! method=~'^INV' forward(193.175.135.179); /* dorian */
 	method=~'.' log("spying...\n"); send(dorian,8000); \
63fa628f
 						forward("fox.iptel.org");
acf0bf48
 }