Although I went to school for Linux, experience is where its at.
hey guys i was wondering if you could shed some light on a problem i am having, i am pretty close but i am unable to get a linux box i am trying to use as a router/fw.
I am using redhat 9.1 box with dual nics, eth0 uses dhcp, and eth1 has a private 192.168.1.x ip address. The other machine, a laptop redhat 7.3x is connected via x-over cable to eth1 of the router/gw.
I am using iptables (not sure how well though) and have enabled port fowarding.
I am able to ping each machine and the router/fw can ping the internet.
My isp is roadrunner and i think i should be using IP masq enabled via NAT, but not sure of the -to ip address i should be using?
If i use roadrunner's assigned ip 24.161.232.x i get an invalid argument.
I can run traceroutes from eth1 of the router/fw to the laptops eth0 and vice-versa, if i try pinging the internet from the laptop , i get unknown host, also cannot ping an internet site.
I have also added to the /etc/resolv.conf file in the laptop to use roadrunner's nameservers. What am i doing wrong?
Should i be setting up eth0 on the router/fw to be static and then use dhcpd to handle the ip to the Internet?