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.

The case is that I have a VPS with 10 different IP address, there are 10 users that can login on the server. The users are logging in via the windows account control, so not via active directory.

I want to distribute the IP addresses between my user account, so that every user hase a unique ip address when the make a request outside the internal network.

For example. User A goes to myip.com and gets 188.12.12.12 and User B gets 188.12.12.13.

Is this possible? If not is there another way?

share|improve this question

closed as not a real question by joeqwerty, Kenny Rasschaert, mdpc, Wesley, Jenny D Mar 30 '13 at 9:57

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Um... Why? It's not going to help with bandwidth, you know. –  Soviero Mar 29 '13 at 16:51
    
What exactly do you mean by logging in? Is this a remote desktop server, a VPN, or what? –  Zoredache Mar 29 '13 at 16:52
    
Its a virtual server that runs on virtual box. The users logging in on windows 2008 server with there user credentials. –  S.Visser Mar 29 '13 at 16:58
    
But how are they logging it? What exactly are you trying to accomplish by giving out unique addresses? –  Zoredache Mar 29 '13 at 17:02
1  
I don't think there is either a clean solution or any possible use case for this. –  Falcon Momot Mar 29 '13 at 17:10

1 Answer 1

up vote 1 down vote accepted

Having the 10 different IPs on the server isn't the problem. On the client machines you need to set them so that they request the proper IP you want them to connect to. This can be done through a DNS hosts file (on the client machine) or through a DNS server. You would need to assign a name to each machine (eg. john.local.domain - John's Workstation VPS).

On the server there really isn't going to be a way to determine if some user is connecting then give some IP without making a connection (via TCP/IP) first.

If you're talking about outside the internal network then you can use NAT or VPN to setup controls on what each account can access in the Router itself.

Update

In the VPS you can specify a specific ip address on the local network that you allow a user to connect from if you're doing this for security.

share|improve this answer

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