My ISP has changed the IP alocation by using DHCP from today instead static. Now because i use a linux (old RH 9.1) computer as gateway for my internal LAN i can't get the computers conected through it to get the internet. What i was do untill now: eth0 -> WAN ./etc/sys-config/network-scripts/ifcfg-eth0 Code: DEVICE=eth0 BOOTPRO=dhcp ONBOOT=yes eth1 -> LAN ./etc/sys-config/network-scripts/ifcfg-eth1 Code: DEVICE=eth1 BOOTPRO=static BROADCAST=192.168.200.255 IPADDR=192.168.200.1 NETMASK=255.255.255.0 NETWORK=192.168.200.0 ONBOOT=yes by using IP tables i use the following lines to do NAT: echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/iptables -t nat - A POSTROUTING -o eth0 -s 192.168.200.0/24 -j SNAT --to-source 5.x.x.x where 5.x.x.x is the IP is see they alocate to me by running if config command. Please help me because i feel i will pull my hair out ...
Please be kind and post your solution here maybe others can use it to solve a similar problem. Thank you.
Please always post answer to thread. There are already billions of useless threads you get when you search for a solution on google. Let's make the internet a better place.