LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2004, 12:40 PM   #1
Swot
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
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!
 
Old 12-07-2004, 07:45 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking problems with firewall/gateway Doctor Doom Slackware 1 10-03-2005 12:12 PM
A good networking, firewall distro Pauli Linux - Distributions 16 08-10-2005 04:47 PM
Networking and Firewall Information Please. duhasst0 Linux - Networking 6 07-02-2004 03:10 AM
Networking - Router\Firewall. stefdaniels Linux - Networking 1 11-17-2003 11:14 AM
Networking aspects of a firewall totfc Linux - Networking 3 10-09-2002 04:20 PM


All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration