Linux proxy box with 1 Nic and Hub/Switch?

Aug 16, 2001
103
0
0
Hi,
I've been searching around on howto setup linux as a proxy server. I'm on a college network where we can only register one mac address and i have a linux box that i'm hoping to make into a proxy for my winXP system. I'm running slackware 8 on the linux box. I'm pretty much a newbie btw. WinXP can find the net connection through the switch/hub just fine and lables the type of connection as a hybrid. Currnetly my nic with the registered mac address is in the XP box, and i tried putting it into the linux box and getting it to recognize the connection through the switch with no luck. Anyway I'd appreciate some advice on how to get this done as well as where to look. I've tried linux.com's HOWTO's but the proxy/firewall section didn't go over using a hub/switch.
 

DaHitman

Golden Member
Apr 6, 2001
1,158
0
0
Have to do it like this:

<ExternalNetworkconnection>-------> <NIC-LINUXBOX-NIC>-----> <hub/switch> ---- <Windows PC>


You need 2 NIC's in the Proxy box... one on the internal network to the hub/switch and one on the external network...

 

hudster

Senior member
Aug 28, 2000
809
0
0
so you abosolutely need 2 NIC's in the machine that you're setting up the proxy server on? I was trying to figure out how to set up a proxy server on my machine yesterday, although i'm not running linux. But in finding out bits and pieces of infomation, it seemed to be pointing to a setup that involved 2 NIC's in the machine.

so there's no way possible with just a single NIC in the proxy machine, eh?


-hudster
 
Aug 16, 2001
103
0
0
I was wondering if i could do
linux NIC ---[Hub/Switch]-----Internet
| |
winXP NIC----------|

where the winXP box loops through the linux box through the hub. It seemed like this might be possible because windows is able to go
through the switch and find the network connection

linux ---
|
winXP--->[Hub/Switch]----->Network


while linux isn't. Further i can't get linux to rcognize anytype of connection. I assigned it a static ip and set windows as the gateway and couldnt' ping the windows box.