Find the answer to your Linux question:
Results 1 to 4 of 4
Hi: I've recently migrated to Debian etch from Win xp. Evrything is really cool in Linux and im enjoing it, but I've been having some troubles with my internal network. ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5

    Question internal network cannot connect to the internet via NAT

    Hi:

    I've recently migrated to Debian etch from Win xp. Evrything is really cool in Linux and im enjoing it, but I've been having some troubles with my internal network.

    Im using the Debian box as NAT/Firewall having installed dnsmasq and iptables. I think the configuration in Debian is not the problem because i can ping the debian system from windows, but I'm not sure though. The problem is that my windos box cant acces internet... can anyone help me pls!!!

    thanks in advance
    theo

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    did you set up the NAT in the iptables?
    can you post your iptables script? or the output of "iptables -L -t nat" command?

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5
    thanks for answering. The output is:
    pp@Debian:~$ sudo iptables -L -t nat
    Password:
    Chain PREROUTING (policy ACCEPT)
    target prot opt source destination

    Chain POSTROUTING (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5
    finnaly solved it... thanks anyway iwanabeguru..
    This page helped me a lot:
    Set up NAT with Linux and iptables - Traffic Engineering Server
    by yhe way, i still think my iptables scripting is usless, so probably anyone can infect my network, if someone has a good example of iptables WITH nat forwarding included and knows how to install it, pls reply to my next post...

    thanks!

Posting Permissions

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