Click to See Complete Forum and Search --> : about NAT in linux?


netsmile
04-11-2003, 09:06 PM
i make a gateway for company use linux,makethe firewall with the linux.
company internal ip:192.168.80.*/24.
company internal server:www 192.168.0.194 -->public ip:211.x.x.194;ftp 192.168.0.195 -->public ip:211.x.x.195

internal NIC ip:192.168.80.254 eth0
external NIC ip:211.x.x.193 eth1

how to do the NAT?

im a newbie and thank you for you advice.:confused:

kam
04-11-2003, 09:12 PM
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
Everything you need to know about IP masquerading.

Icarus
04-11-2003, 10:00 PM
To make things easier and less painful (after reading that IP-Masquerade-HOWTO) check out Freesco (http://www.freesco.org/) and Smoothwall (http://smoothwall.org/) There are many others also, but I've used these

These are both Linux based router/firewall/Masquerade distros. I was using Freesco for over a year (It fits on a floopy!) and just switched to Smoothwall and like it also so far.