This is probably a simple question, but my brain is freezing... I have a dual-homed NAT gateway with several external ips aliased to the external interface. In my ipnat.rules I only have one map entry for one external ip address to map to my internal LAN:
map xl0 10.0.0.0/32 -> xxx.xxx.xxx.1/32 portmap tcp/udp auto map xl0 10.0.0.0/32 -> xxx.xxx.xxx.1 But, I'm also redirecting traffic on the other ips to internal machines on my LAN. Everything is working fine now, but I was wondering if I should use multiple map statements for each of my external ips? Something like: map xl0 10.0.0.0/32 -> xxx.xxx.xxx.1/32 portmap tcp/udp auto map xl0 10.0.0.0/32 -> xxx.xxx.xxx.1 map xl0 10.0.0.0/32 -> xxx.xxx.xxx.2/32 portmap tcp/udp auto map xl0 10.0.0.0/32 -> xxx.xxx.xxx.2 map xl0 10.0.0.0/32 -> xxx.xxx.xxx.3/32 portmap tcp/udp auto map xl0 10.0.0.0/32 -> xxx.xxx.xxx.3 ...etc. I'm not sure why it works without it now. Can anyone explain this? Thanks, Adam
