Hi I have a problem with NAT after recompiling iptables and my kernel. This line gives an 'invalid argument' error: iptables -t nat -A PREROUTING -i eth0 -s 192.168.0.0/24 -j SNAT --to-source 196.4.160.2 Is there something wrong with the above line, or is there something wrong with my kernel or iptables? kernel version = 2.4.20 - 'Full Nat' is enabled patch-o-matic 'time' patch applied iptables version = 1.2.7 There were no errors during compile. Although, after rebooting the machine complains about a missing map file. Regards Ray -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( Raymond Leach ) ) Knowledge Factory ( ( ) ) Tel: +27 11 445 8100 ( ( Fax: +27 11 445 8101 ) ) ( ( http://www.knowledgefactory.co.za/ ) ) http://www.saptg.co.za/ ( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o o o o .--. .--. | o_o| |o_o | | \_:| |:_/ | / / \\ // \ \ ( | |) (| | ) /`\_ _/'\ /'\_ _/`\ \___)=(___/ \___)=(___/
Attachment:
signature.asc
Description: This is a digitally signed message part