Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 09-24-2004, 10:54 AM   #1
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Using my laptop to bridge between a wireless gateway and my non-wireless desktop?

Ok, here is the situation:

My dorm room still doesn't have a 'net connection, so I have been hopping on a friend's wireless router on my laptop. I want to route my desktop to my laptop (using a crossover cable, or a hub - either way, it should work the same) to get out to his wireless router, which is acting as a gateway to the 'net connection.

I'm running Slack 10 on both machines. Just running a proxy program for HTTP isn't enough - I need FTP, SSH, SMTP, POP3, and more.
Old 09-25-2004, 10:28 PM   #2
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15

What you can do, is set up an iptables firewall script. You'll essentially be turning your laptop in to a router. You can buy a cheap switch and plug it in to the ethernet port of your laptop and dhcpd the ethernet port. You'll have to do some research on iptables and the route command. I know I had to.

I'd give you a run down on what I did before, but I totally hosed my slackware server one weekened with an rm -r * command while I was root unknowingly. Just another example of why you shouldn't be running around as the root account.

Anyway, the basic concept is this. You use route to direct traffic back and forth between the wireless interface and the ethernet interface. You set up iptables to filter traffic from the wireless interface to the ethernet interface. HTH
Old 07-28-2006, 10:46 PM   #3
LQ Newbie
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
I have the exact same query and would like to know how exactly this can be done...the whole ip tables n firewalls procedure...can i get a step by step run down somewhere...any link available??


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 12:53 PM
A local wireless network for sharing files (linux desktop+linux laptop+mac laptop) whyatt Linux - Wireless Networking 1 11-01-2005 03:17 PM
Wireless bridge nhwk Linux - Wireless Networking 1 09-10-2005 01:06 PM
gateway 200arc laptop FC3, broadcom bcmwl5 built-in wireless card problem razcal Linux - Wireless Networking 6 03-12-2005 07:33 PM
desktop wireless card (PCI) and wireless router recommendations lobo78 Linux - Wireless Networking 1 04-30-2004 10:27 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:07 AM.

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