[Firewall] nat forwarding problem

Dan daniel at paten.be
Tue Jul 8 05:58:46 MDT 2008


Hello,

I use the last arno-iptables-firewall (1.9.0-beta3)
I have some strange errors messages if I use two external interface
Enabling SNAT via external interface(s): eth1 eth2
Adding (internal) host(s): 192.168.1.0/24
(eth1 eth2) Forwarding(NAT) TCP port(s) 0/0:3389 to 192.168.1.254
Warning: wierd character in interface `eth1 eth2' (No aliases, :, ! or *).
Warning: wierd character in interface `eth1 eth2' (No aliases, :, ! or *).
Warning: wierd character in interface `eth1 eth2' (No aliases, :, ! or *).
No NAT forwarding works of course ...

I look in the code, and I found in the NAT port forwarding part the code :
*IFS=','
*    for shost in `ip_range "$shosts"`; do
      for sport in $sports; do
        for destip in $destips; do
          # Portforward for all specified interfaces
          for eif in $interfaces; do

As you see the IFS variable is define as ',' but the $interface variable
it's a space separated variable.
I am not sure that's a bug but only a suggestion to look for ...

Thanks in advance
Daniel Paten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.btito.net/pipermail/firewall_lists.btito.net/attachments/20080708/eb088a5e/attachment.html 


More information about the Firewall mailing list