>We have a small Lan with a RedHat6.0 Linux box no DNS. We have a dial
>up connection and our isp act as our mail relay. That is the working
>part. I'm trying to setup ip masq as per how-to and added
>gateway=192.168.1.18 (ip address of linux box) in
>/etc/sysconfig/network . Every body can surf the net but now they
>can't connect to the pop server using outlook.
>/var/log/maillog reads lost input channel from whichever pc try to
>sendmail. But if i remove the gateway the mail server works Ok
Don't put your own address as a gateway on the Linux box connected to the
internet, that just loops back to yourself. In fact if there is any
default gateway (UG in route) other than your internet connection, delete
it so the default route to the internet will work. However, your routing
should show a -net (U) route to 192.168.1.0 with netmask 255.255.255.0 (or
alternately for a broader range 192.168.0.0 255.255.0.0). This should
automatically be there if you use netcfg or linuxconf to set up the eth.
Your Linux eth IP should ONLY be a gateway for other boxes on the LAN
that are not directly connected to the internet.