LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-09-2008, 01:43 PM   #1
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Made Linux Box a Wireless Router for Hosting a LAN game. How do I make it secure?


I live at a college dorm, and the people around here like to play Wolfinstein: Enemy Territory. Each dorm room comes with two Ethernet ports, which gave them a couple limitations:
1) Only two people could play in a room
2) Anyone playing would need an ethernet cable, which in a dorm with free wifi, is rare.
I offered to let them use my Linux Desktop as a wireless router and host a couple people. I have an atheros based wifi card with an ethernet port. I connected the ethernet cable to the school's internet, and setup a dhcp server on my PC and set it to Master mode. I will set up a WEP/WPA key later tonight, I think the school requires it for anyone to sets up a router, but I have a few questions about additional security:
1) Should I allow anyone connected to my wireless to access the internet?
2) Should I worry about setting up a chroot environment or something?
3) What other precautions should I take for their safety?
It's a pretty small dorm, and I know of only one other person here that uses linux, but he isn't too into it. Would a WEP/WPA password be adequate protection?
Also, if my linux box is connected to the ethernet port, will other PC's connected by ethernet be able to contact PC's connected to by linux box?

Last edited by Romanus81; 11-09-2008 at 01:45 PM.
 
Old 11-09-2008, 02:32 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
Quote:
1) Should I allow anyone connected to my wireless to access the internet?
No, dont open your self up to that. In my state you are liable if someone uses your equipment to search out kiddy porn or hacks into something.

Quote:
3) What other precautions should I take for their safety?
let them worry about their own safety. but for the safety of your box turn on the firewall and only open what you need for ports/protocols

Quote:
Would a WEP/WPA password be adequate protection?
for most end users yea


Quote:
Also, if my linux box is connected to the ethernet port, will other PC's connected by ethernet be able to contact PC's connected to by linux box?
depends on how the network is setup. if you are all sharing a switch then sure. Turn the firewall on (i cant say that enough). when your on a LAN every one is assumed friendly...

Last edited by watcher69b; 11-09-2008 at 02:34 PM.
 
Old 11-09-2008, 04:55 PM   #3
Romanus81
Member
 
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
For this all to work, I need to have it setup like this:
In my room there are people on laptops connecting to my PC, which is connected by ethernet to the school's router and dhcp server, which connects the users using ethernet in other rooms, as well as the internet.
Is it possible to deny access to the users in my room access to the internet, while still allowing access to PC's on the school's LAN?
 
Old 11-10-2008, 07:03 AM   #4
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
So just to clairify...


wireless clients connect to your PC via Wi-Fi.
your PC is connected to the schools LAN via eithernet; effectivly acting as a bridge.
The LAN is connected to the I-net

If you wanted to limit your clients to be able to only access other wireless clients and your PC then yes I believe you could. To keep them from the internet by not setting a defauly gateway on the wireless NIC in your PC.
However they would not be agle to access the schools LAN just the private LAN that you would create.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can my Linux box be used as a transparent proxy on the LAN side of my router? Steve2001 Linux - Networking 5 02-01-2005 11:12 AM
Making my linux box a wireless router? jon_k Linux - Wireless Networking 1 12-26-2004 04:48 PM
Using a linux router to put an xbox on a wireless lan brenan99 Linux - Wireless Networking 2 01-25-2004 09:51 AM
Home-made wireless router? KungFuHamster Linux - Wireless Networking 1 07-21-2003 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration