Gilberto, On 12/23/-58 20:59, Gilberto Villani Brito wrote: > Hi, > I need make nat and rdr for my conections from lo0 of my firewall. > I have those rules: > rdr on { em0 em1 lo0 } proto icmp from any to 200.250.0.1 -> 192.168.0.2 > nat on { em0 em1 lo0 } from 192.168.0.2 to any -> 200.250.0.1 > > When I tray ping ip 200.250.0.1 from my firewall, it tray the default gw. > I would like it make a nat and ping the ip 192.168.0.2. Is it possible?? >
It would help if we knew a bit more about your setup (which interface is external, which is internal). But I'm unable to imagine how useful it might be to NAT traffic on the loopback interface. Your current rdr rules will not work as you think it should. For example there should never be a packet going through lo0 with a destination address of 200.250.0.1. Also NATing on the internal interface (and lo0) with the IP address of your external interface might give you strange results. Greetings, Volker _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"