Results 1 to 6 of 6

Thread: Connect to local network fine, connect to internet - no go

Hybrid View

  1. #1

    Connect to local network fine, connect to internet - no go

    Probably something stupid I've missed.

    I've a small home network behind a DLink router:

    - Windows 2000 x 2
    - Linux FC 3 (console install only)

    The Linux-box is pretty much newly installed.

    The problem is this: from the Linux machine I can ping everything in my network and even the gateway (DLink), DNS works (via the /etc/resolv.conf file) to something like www.yahoo.com, but I cannot get out on the Internet. I've tried both assigning the box a static IP and, when this failed, using router-based DHCP. To no avail, each and every connection to the Internet times out. I can even ssh into the Linux box from work.

    Both Windows boxes get out fine and both can see the Linux machine.

    This problem is aggrevatingly manifested each time I need to perform an up2date/yum/apt-get on this box.

    Thanks in advance for any advice/direction you may have to offer.

    ts

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    You may have iptables activated. The default FC3 iptables firewall allows inbound SSH and not much more. The fact that you can get in to the box from the Net shows your routing is OK.

    Try the

    Code:
    # service iptables status
    command and see if iptables is running. If the result is anything other than "iptables stopped", then it's running.

    You can do some basic modifications to iptables using the lokkit utility. For a more comprehensive iptables tutorial check this link

    Hope this helps.

  3. #3
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253
    Dear starfish,
    Hello,

    Quote Originally Posted by starfish
    Try the

    Code:
    # service iptables status
    command and see if iptables is running. If the result is anything other than "iptables stopped", then it's running.
    little correction

    # server iptables status

    say "iptables stopped" then its means iptables is not running

    Best Regards.
    Färrükh Ähmëd

  4. #4

    Solved!

    Thx for the quick reply Starfish. With that command I get:

    Firewall is stopped.

    However, you pointed me in the right direction. When I flush the iptable rules, I can get out on the Internet. I only thought iptables had to do with incoming traffic.

    And when I thought I was getting slightly above noob.

    Thx again.

    ts.

  5. #5
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    What command did you use to do the flush? From the command line or using the iptables command flush option?

    I'd be interested to know.

  6. #6
    iptables --flush

    Still weird tho, not exactly sure why I could not hit the great big fat Internet even with my (quite simple) iptable rules.

    My main concern was I could not keep my openssh up-to-date with yum/up2date.

    Am I (again ) missing something?

Similar Threads

  1. Connect to internet
    By arennuit in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-20-2011, 05:24 PM
  2. I can't connect to internet
    By OlderThanDirt in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 05-14-2005, 11:05 PM
  3. How do I connect to the internet
    By cwatkiuk in forum Suse
    Replies: 1
    Last Post: 08-09-2003, 01:37 AM
  4. How do I connect to the internet
    By cwatkiuk in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 07-21-2003, 03:57 AM
  5. connect to internet through a lan
    By benny666 in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 03-05-2002, 12:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •