On 06/10/2010 04:47 PM, Farkas Levente wrote:
> hi,
> i'd like to natmap on our firewall from 1.2.3.0/24 to 1.2.4.0/24, but
> only in that case if the destination is in 2.3.4.0/24,2.3.5.0/24. is it
> possible somehow? currently i can't specify destination in netmap file.
> and there is no such rule as NETMAP in rules? so what can i do?
> thanks in advance.
> regards.

just a side note: it's possible with iptables so it'd be useful to add
to shorewall netmap support.

> ps. anyway there is a bug in masq file handling. since if i specify
> eth0:2.3.4.0/24,2.3.5.0/24 in the first column it will only use
> 2.3.4.0/24 in the iptables commands. so it's definitely a bug.

i look into this too and imho it's a bug in the current version.


-- 
  Levente                               "Si vis pacem para bellum!"

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to