[Cialug] NATing a wired LAN to wireless

Matt Stanton inflatablesoulmate at brothersofchaos.com
Thu Jul 22 21:57:08 CDT 2010


  If you're not set on NAT, you could bridge the wired network with the 
wireless one.  Double-NAT has given me all sorts of trouble in the 
past...  I have a wireless-n card in my gaming desktop, and it has a 
couple of gigE ports on the motherboard.  Since 1U servers are loud as 
all dammit, I stuff them in an adjacent room, run cat6 crossover from my 
gaming PC to the servers, and bridge the wired LAN over the wireless LAN 
(the DSL modem is upstairs, and I haven't gotten up the energy to drill 
a bunch of holes in floors and walls to get cat6 to the router).  
Windows makes the bridge setup fairly easy (other than some dumb crap 
windows with losing any ip configuration you had for the bridged 
adapters, which you have to set up again on the 'network bridge' 
'device' that windows adds to the network connections control panel).

I know linux can do similar things so long as the wireless card is 
supported.

On 7/22/2010 8:35 PM, Colin Burnett wrote:
> Got a couple desktops on a gigabit LAN that I want to NAT to a
> wireless internet connection.  Suggestions on an 802 card?  Both
> machines are Gentoo.  Not sure exactly what 802 flavor I'm going to be
> stepping into but I'm not looking for speed so a/b/g should fine.
>
> My assumption is to drop an 802 PCIe card in and set up masquerading
> with iptables.  Been a while since I've done masquerading though.
>
>
> Colin Burnett
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list