Hi,
I am just not sure what I am doing wrong. I am trying to set up NAT on a Linux server. I have two nic cards. Eth0 is the internal card and eth1 is the external card. Eth0 has a static address (10.100.201.1) while eth1 has a dynamic address from a cable modem. Eth1 connects to the modem through an RJ45 cable. The RedHat Linux server has internet access, but I can not get the internal network to connect to the internet. I can ping the internal card from within the network. I can access the RedHat Linux server from within the network using webmin.
I believe I am supposed to setup rules with ipchains. I have done the following:
(in the sbin directory)
./ipchains -P forward DENY
./ipchains -A forward -0 eth1 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
I have done this, but I still can not access the internet.
I am lost. Any ideas what I am doing wrong.
Thanks,
bkonner
I am just not sure what I am doing wrong. I am trying to set up NAT on a Linux server. I have two nic cards. Eth0 is the internal card and eth1 is the external card. Eth0 has a static address (10.100.201.1) while eth1 has a dynamic address from a cable modem. Eth1 connects to the modem through an RJ45 cable. The RedHat Linux server has internet access, but I can not get the internal network to connect to the internet. I can ping the internal card from within the network. I can access the RedHat Linux server from within the network using webmin.
I believe I am supposed to setup rules with ipchains. I have done the following:
(in the sbin directory)
./ipchains -P forward DENY
./ipchains -A forward -0 eth1 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
I have done this, but I still can not access the internet.
I am lost. Any ideas what I am doing wrong.
Thanks,
bkonner