Jan Jurák wrote: > Hi All! > > I have new in opensolaris and mailing list too, so i don't know if > appeal for help here is right. > > my problem: I want redirect port for one machine, but have a problem: > > % cat /etc/ipf/ipnat.conf > rdr bnx0 from 10.101.3.136/32 to 10.100.0.2/32 port = 25 -> 10.100.0.2 > port 5056 > > % ipnat -CF -f /etc/ipf/ipnat.conf > 0 entries flushed from NAT table > 4 entries flushed from NAT list > 3:ioctl(add/insert nat rule): Invalid argument >
Actually, your rule looks right. There's actually a test suite test case that does the exact same thing and it is failing. You appear to be running into this bug, which has been open but not fixed. 6879740 ipnat rules can't be added into IP NAT because of regression of 6792026 Unfortunately, the submitter put the details in the non-public area for some reason. I just updated the public synopsis, but it might take a day to propagate. Thanks, Paul _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org