> Time for another question of my own.. ;) > > I have a large ipnat installation on one box, currently with over 500 > rules. I'm trying to consolidate some of these rules, many of them are of > the form: > > rdr if0 10.0.0.0/24 port 80 -> 192.168.0.1 port 80 tcp round-robin > rdr if0 10.0.0.0/24 port 80 -> 192.168.0.2 port 80 tcp round-robin > rdr if0 10.0.0.0/24 port 80 -> 192.168.0.3 port 80 tcp round-robin .. > Anwyay, when trying to consolidate a block like the above to : > rdr if0 10.0.0.0/24 port 80 -> 192.168.0.1,192.168.0.2,192.168.0.3 port 80 > tcp round-robin > > ipnat fails with : > 20: can't resolve hostname: 192.168.0.2,192.168.0.3 > 20: syntax error in "rdr" > > It works fine when only two IPs are used such as: > rdr if0 10.0.0.0/24 port 80 -> 192.168.0.1,192.168.0.2 port 80 tcp > round-robin > > But not with any more than two.. I'm guessing this is just a limitation of > the current rule parser. Has it been fixed in CVS or anywhere else? If > not, is there any intention of doing so?
No, the limitation is in the way the rules are constructed, not the parser. And for now, that can't change. Darren
