• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

network routes

I have a linux box with two internet cards one is connected to a dsl external modem. That card works well.  The second card is connected to a local internet hub.  I can ping the window machines and they can ping the linux box.  Appache setup page will appear on the window machines.  However I can not get through the linux box to the internet.  when I type route I can see both of the cards and status  report is ok.  Ifconfig shows that the cards are up and working.  Why is the firewall keeping the packets from getting to the dsl isp???? Yes I have IPV4 turned on in the /etc/sysconfig/network
0
boblantrip
Asked:
boblantrip
1 Solution
 
jlevieCommented:
Did you set a default gateway on the windows boxes pointing at the inside interface IP of the Linux box? Is the Linux box configured to route ("FORWARD_IPV4=true" in /etc/sysconfig/network)?
0
 
boblantripAuthor Commented:
Edited text of question.
0
 
3408Commented:
Is IP-masquarding installed? (It's need to be installed in the kernel)

3408
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
stefanxCommented:
How about pasting output from ifconfig and route -n here please. You are letting us have to guess at how you set it all up.

Also, if you are using ip_masq, let us know if you are using ipfwadm or ipchains and it would also help if you told us what kernel version you are running as well as which distribution.
0
 
j2Commented:
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -s 192.168.0.0/24 -b -J MASQ

Assuming you are using 192.128.0.x as ips on your machines, if not, just update the above.

Or go to www.pointman.org and DL pmfirewall, which gives you a pretty decent firewall at the same time. Just answer "yes" when asked for "masquerading?"
0
 
j2Commented:
"Assuming you are using 192.128.0.x as ips on your machines, if not, just update the above. "

should of cource be

Assuming you are using 192.168.0.x as ips on your machines on your internal network, if not, just update the above."

sorry for the confusion.
0
 
kodiakbearCommented:
Fixed the -1 problem on this question.
Escrow points corrected.

kb
Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now