Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Share internet in Linux

I have a linux laptop, connected to internet via wifi. I would like it to serve out the connection via its Ethernet port, so that another machine could access the internet via cable. What would be the best setup to do that?

share|improve this question

migrated from serverfault.com Nov 3 '11 at 10:27

This question came from our site for professional system and network administrators.

marked as duplicate by Sathya Nov 3 '11 at 11:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
You should consider giving us the OS of your laptop :) –  Antoine Benkemoun Nov 3 '11 at 9:44
add comment

1 Answer 1

What would be the best setup to do that?

Based on the information you've given, the answer is the setup you've already got. You just need to enable routing. There's lots of description of how to enable this on the internet. Try Google. Here's a simple example using masquerading. But there's other ways to allow access (application level proxying, conventional routing).

share|improve this answer
    
Why the mod-down? The resource symcbean links to is an excellent explanation. –  vvanscherpenseel Nov 3 '11 at 10:00
    
I didn't downvote it, but good answers should be self contained - that way, if something happens to the source, we should still be able to find an answer. –  Journeyman Geek Nov 3 '11 at 10:38
add comment