Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to create proxy server which will give different users different ip's. Which instrument I can do it with?

eth0 has many aliased ip adresses. Human connecting to the proxy(squid? 3proxy?) must be detected by other sites with unique ip address from ip's aliased to eth0.

share|improve this question
    
Just to be clear, you want users that are having their connections proxied by your squid box be seen as if they were coming from one of the aliased ip's (bases on some criteria as to which users use which IP)? –  Zypher Apr 29 '10 at 4:30
    
Yes! And it wood be good if each user have a static ip address. If he reconnects to the proxy he must have the same ip as the previous session. –  Andrey Kouznetsov Apr 29 '10 at 12:54
    
Can you elaborate on what you really need? In sounds like you need a VPN, not a proxy. –  Zoredache May 7 '10 at 1:18
    
I need proxy server, not vpn. It is technical requirement. –  Andrey Kouznetsov May 7 '10 at 1:54

3 Answers 3

Proxy servers and DHCP servers are two different things (usually). If you need a small flexible DHCP server on linux, I'd suggest dnsmasq. It'll also let you handle things like naming machines on your local network if you use the DNS aspects of it.

If you want a web proxy, you'll need to look at something like squid, or dansguardian, depending on what kind of proxying you want.

As MarkM says, your question isn't very clear, and you need to do more research to figure out what you actually want/need I think, but hopefully this will get you started.

share|improve this answer
    
I've edited my question. I need web proxy which will give users different ips. –  Andrey Kouznetsov Apr 28 '10 at 21:38

You could always just install and configure dhcpd on the same box that you're proxying with, assuming you're using *nix. If you're using Windows, just install the DHCP Server role and configure accordingly.

Did I miss the point? The question isn't very clear.

share|improve this answer
    
I've adited my question. Sorry for my english –  Andrey Kouznetsov Apr 28 '10 at 21:37

I'm confused, even after the edit. You can't assign an IP address to a machine based on the user who is logged in, which is how I interpret the question. To do something like that you would need to create a custom application because that's not how DHCP works.

share|improve this answer
    
I want proxy server to assign custom external ip for each user session. I wrote wrong analogy with dhcp. –  Andrey Kouznetsov Apr 29 '10 at 12:53
    
Proxies don't assign IP addresses, so I'm still confused. –  John Gardeniers Apr 29 '10 at 13:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.