iptables and NAT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
  °v°   
 /(_)\  
  ^ ^  Jatin Khatri  
Registerd Linux user No #501175
www.counter.li.org
No M$
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux