LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



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

Rep: Reputation: 30
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, 11:28 PM   #2
d0odman
Member
 
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
iptables

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, 11:46 PM   #3
akshay_rebel
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??
 
  


Reply


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


All times are GMT -5. The time now is 02:57 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration