Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iptables (NAT)

Status
Not open for further replies.

StickyBit

Technical User
Jan 4, 2002
264
CA
Folks,

How to perform Nat using Iptables? I have 2 interfaces eth0 and eth1, eth0 is connected to my cable modem (public) and eth1 is connected to my (private) network 192.168.1.0/24.

Also please provide Iptable commands for port forwarding e.g. How would I forward inbound packets destined for 206.235.255.6:80 (eth0) to my web server on private network 192.168.1.6:80 (eth1)

I'm familiar with Nat on Cisco products; just need some info on how to perform the same thing using Iptables. I believe all Iptable modules are installed loaded.

Thanks,

StickyBit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top