Hi , I have 2 pcs connected in LAN. Red Hat 9 box and Windows 2000 box.
Linux pc is (ICS server) connected to internet by cable modem and ethernet card for LAN
with Windows pc. Everything works fine windows box have access to internet, but
when I try to browse some ftp server receive errors like : cannot connect to 192.168.0.2 ,
unable to open socket and etc , BUT can download files from ftp servers!!! .For ICS used
iptables . Here is the commands with which shared intenet connection:
# modprobe iptable_nat
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# echo 1 > /proc/sys/net/ipv4/ip_forward
Ohh and also when I try to trace some IP (hostname) between linux box and my ISP have 100% ICMP loses.
And when try to traceroute from linux box I receive reports in format:
1 * * * Request timed out.
2 1 ms 1 ms 7 ms somehost.somedomain.sm [69.69.69.69]
Can you tell where is the problem. Is it in iptables? and if is it in ipchains tell me to solve the problem
