Results 1 to 6 of 6

Thread: IPTABLES/Network Configuration problem

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    Question IPTABLES/Network Configuration problem

    Ok, I've been working on configuring my network for a couple days now, and I think I have done everything correctly.

    For background here is my setup.

    Linux box = internet gateway (Redhat 7.2)
    ppp0: modem (dynamic IP)
    eth0: ethernet (192.168.0.1)

    Windows box (windows xp pro)
    ethernet adapter (192.168.0.2)
    default gateway (192.168.0.1)

    Anyway, I know the network cards are configured properly.. i can ping the windows box from the linux box and vice versa.

    To configure IP tables I read the HOWTO guide: http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

    Ran the setup script, no errors.

    The problem is, I can't access the internet on my windows box.

    **EDIT**
    Discovered my problem, the DNS configuration of the network on my Windows XP machine is not correct. I can ping and telnet to static IPs but can't telnet with DNS resolution.

    But what do i put in for DNS I get all my DNS stuff automatically via my dial-up ISP.. (or do I?). I'll search further now that I have made some headway, any help would be greatly appreciated.

    Thanks.
    Last edited by jaredb0t; 02-26-2003 at 05:22 PM.

  2. #2
    Registered User compuboy86's Avatar
    Join Date
    Jan 2003
    Posts
    19
    To clarify, your network configuration is:

    Internet->Modem->Linux box->Windows Box

    ??

    Compuboy86

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    ya

    Ya, thats correct.

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    Are you using IPTables or IPChains? I would highly recommend IPTables.

    Bottom post in this thread:

    http://seq.sourceforge.net/showthread.php?threadid=566

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    18

    SOLVED! WAHOOO

    HEheheheheheh, it wooooorrkkkkss!

    I just filled out the DNS information on my windows machine with that I found in /etc/resolv.conf on my linux box. Seems like that will change if I dial into a different ISP, but it works for now.

    If anyone knows of a more permanent solution (that wouldn't involve me altering my DNS server information every time I dial in to the internet) please let me know, other than that it woooorrrkkkss muahahahah I just did a little dance.

    Sorry for the post, guess it helped me organize my thoughts.

    -jared

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    setup dhcpd on your linux box and have it dish out IPs and DNS information. Maybe even setup the NameD DNS caching daemon on the Gateway linux box also.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On