Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an internal network behind my router on eth0, and I have my router connected to the internet thorugh wlan0. I can't access the internet from inside the lan, how can I fix this?

share|improve this question
up vote 0 down vote accepted

Its the same deal as if it was connected directly to the Internet. Enable NAT, configure your clients to use as Gateway and (or whatever your actual router IP is) as Primary DNS and end of story.

If you want to be the DNS provider aswell, you will have to configure it to relay DNS requests to the actual router.

share|improve this answer

Both 192.168/16 and 10/8 are not routable on the Internet. Your router can't be on the Internet if it has that reserved address. You'll need to find out why it was assigned that address.

share|improve this answer
The router is actually just a computer connected wirelessly to the actual-router. The computer is acting like a router to the internal network. – Figitaki Apr 6 '13 at 3:17
OK, so can you do anything from your 10.1.1/24 network? Can you ping the computer-router? The actual-router? Does DNS work on the 10.1.1/24 network? What program are you using to provide router functionality? – Fred Apr 6 '13 at 3:28
I can ping the computer-router from 10.1.1/24 but I can't ping the actual-router. I am just trying to use NAT with the iptables and ip_forward – Figitaki Apr 6 '13 at 3:29
Squillions of things could be wrong. The router software on the computer-router is probably misconfigured. What OS and what router software is computer-router running? Can you ping the 10.1.1/24 machines from computer-router? – Fred Apr 6 '13 at 3:32
I can access everything that is on 10.1.1/24 on all the computers on it but all I want to do is let the computers on 10.1.1/24 access outside networks. I am running debian, and dont have any "router" software. I am running dhcp assigning static addresses on 10.1.1/24 – Figitaki Apr 6 '13 at 3:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .