Dear All
I'm trying to configure iptables with Network Address Translation
Scenario is like
server 1 with IP address 192.168.131.131 is running httpd
server 2 with two NIC, one is xx.xx.xx.xx ( live ip ) and another is 192.168.131.133,
--- I run following command on server 2 ( which is going to be acting as firewall )
iptables -t NAT -A PREROUTING -d xx.xx.xx.xx -J DNAT --to-destination 192.168.131.131
but it ends with following error
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
----------Following are some details of my server-------- *uname -r *
2.6.18-194.32.1.el5
*lsmod | grep ip *
ip_tables 17029 0 x_tables 17349 1 ip_tables ipv6 270561 19 xfrm_nalgo 13381 1 ipv6 acpiphp 27089 0 dm_multipath 25421 0 scsi_dh 12097 1 dm_multipath dm_mod 63225 15 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
Can anyone guide me ??? whats going wrong with it ? how to resolve this problem
Thanx & regards