Hi All,

I'm trying to figure out if any one knows a Linux s/w application or some 
other method of doing the following -

I have a semi-public, controlled, internet access point (ethernet), in which 
anyone can connect their laptop, but what I want to avoid is for the person 
connecting (running Linux/Windows/Mac OS) from having to make any changes to 
their network configuration. ie. if they are running a dhcp client on their 
machine, then I will provide a dynamic address (easy enough), but if they 
already have a static IP, with associated gateway and nameserver, then I 
would still like to allow access for them, even though my network is on a 
completely different subnet, different gateway, different nameserver. The 
connecting laptop could have any IP address and I will not know the address 
or other network information beforehand.

For example - the person connecting has a static IP, 192.168.10.55, gateway 
192.168.10.1. My subnet is 172.16.128.0/24 with gateway 172.16.128.1. (For 
dhcp it is easy enough too do this and so I am not concerned with that case). 
I want that when 192.168.10.55 tries to access their gateway (192.168.10.1), 
somehow my gateway responds and allows them access, as well as routing the 
packets back to them.

I was thinking of using some type of arp spoofing, so that when 192.168.10.55 
sends an arp request for the gateway (192.168.10.1), my gateway responds to 
the arp but with it's address, and hence lets the request out. For the 
returning packet, I would need some method of association the requesting IP 
with the returning packet, maybe creating a temporary alias for my network 
card on my gateway? 
I would also have to intercept DNS requests as well and have my DNS server 
respond.

Do I need some form of arp proxy?

Can this even be done or am I totally dreaming?

Thanks for any help and suggestions.

Martin

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to