Find the answer to your Linux question:
Results 1 to 4 of 4
Here's the rub... I have a server running a firewall. (iptables) I have 5 computers behind the firewall that can access the web, this works fine. When I am working ...
  1. #1
    Just Joined! lizardking's Avatar
    Join Date
    Aug 2006
    Location
    St-Lazare, Quebec
    Posts
    28

    [SOLVED] Server allows internet, server can't internet!

    Here's the rub...

    I have a server running a firewall. (iptables) I have 5 computers behind the firewall that can access the web, this works fine. When I am working from the server, I get no web access! From the server, I can ping all the clients, I can ping the modem, I can ping both NIC's (Internal and external) but I cannot get through to the outside if I am on the server. I've looked through a lot of Google searches but I cannot find the magic words to get my answer.

    Is there a specific line (or line) I need in the iptables route that will allow web access when on the server?

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Check your /etc/resolv.conf file, it should have your DNS listed there. If not, then copy it over from one on your other machines (if one is Linux based).
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined! lizardking's Avatar
    Join Date
    Aug 2006
    Location
    St-Lazare, Quebec
    Posts
    28
    Whoa.....

    Trusted Penguin, I salute your quick, and even better, correct response. I totally missed that one. Changed the file as per your suggestion and now all is well. A HUGE thanks to Mike Tbob for your response and thanks to linuxforums!

    I go now to change my signature to '...I can do almost anything.'

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You are Welcome, do start new threads if you have any new problems that you need help with. Enjoy.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

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