iptables / routing for SSH Tunneling

Encerrado Postado Sep 6, 2011 Pago na entrega
Encerrado Pago na entrega

I have setup an SSH Tunnel using dynamic port SOCKS via the program plink.

[url removed, login to view] -D 9870 user2324@servers_ip_here

This allows me to setup a SOCKS proxy in any program (Firefox for example) and all traphic is routed to the remote server.

The problem is if I go to [url removed, login to view] the IP I see will always be eth0:0 on the server I connect to but my server has 7 IPs. I want to have the IP be able to adjust the outgoing IP for each user connect to the server so that:

user2324 could be assigned to eth0:4 and [url removed, login to view] would show that IP for them, but user1294 could be eth0:0. There will be more users then IPs so it should be setup to that one IP can be assigned to many users.

It seems iptables could do this using a --owner-match but I'm not sure on the exact commands needed.

The project is to the provide a means to do what is outlined above in the form of a shell script. This script can run whenever a user is setup on the linux box so that their IP is whatever they would like it to be (one of the 7 IPs bound to my server).

I won't provide root access so you should have some sort of testing platform of your own.

Linux Administrador do Sistema

ID do Projeto: #3557271

Sobre o projeto

2 propostas Projeto remoto Ativo em Sep 28, 2011

2 freelancers estão ofertando em média $16 nesse trabalho

muzumbu

See private message.

$17.85 USD in 2 dias
(55 Comentários)
5.2
iadnah

See private message.

$15 USD in 2 dias
(5 Comentários)
1.8