LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   My Networking/Firewall Problems (https://www.linuxquestions.org/questions/linux-newbie-8/my-networking-firewall-problems-263671/)

Swot 12-07-2004 11:40 AM

My Networking/Firewall Problems
 
I have a couple Debian machines here and I was trying out a few different firewalls on one of them, and after removing them all I cannot access the internet with it at all. Lan connections work fine, and I can connect to the web interface on my router. I can also ping any pingable internet host with it, but all tcp connections to the internet just hang and eventually time out. Iptables -L shows "policy accept" for input output and forwarding -- its the same as the other working debian machine - route commands show the same as the other machine too. I used rcconf and also looked through the rc dirs for any firewall stuff that got left over, but can't find anything. Also -- if I boot the machine using a cd-based linux distro, I can set up the internet and connect just fine so I'm sure that it is a configuration problem somewhere. Where/how else could this be blocked?? Plz Help!

amfoster 12-07-2004 06:45 PM

It just sounds like you lost your default route.
When you use the route command does it show your router listed?

If not, try
route add default gw xxx.xxx.xxx.xxx (Use the router IP)

check also for an entry in the /etc/resolv.conf for a valid name server


All times are GMT -5. The time now is 12:38 AM.