dtremolo
Hi,
As for now, I have gotten a list of IPs to use from my hoster. The IP's are however not in the same subnet as my primary IP (on the server is). Even though it might be weird, it actually works because the primary gw of my server routes them, so I can setup interface aliases with netmask 255.255.255.255 and use them.
I would like to let clients use them, and ultimately it would be best to assign them to clients and route them to the default router. If that does not work, I could settle with, if possible, assign them to alias interfaces and map up NAT to internal IP's.
What are my options here? The 'server' directive only seem to work as a simple dhcp, requiring openvpn server and clients to be on the same subnet.
Server is Debian Lenny, the server is on x.122.219.0/24 net.
The list of IP's is:
x.122.219.158
x.122.217.228
x.122.219.201
x.33.47.190
x.33.45.176
x.33.40.244
x.33.41.19
x.122.219.67
x.33.44.246
x.33.43.39
x.33.44.47
x.33.43.147
x.122.218.197
x.33.41.62
krzee
im not sure how to do this...
you would need a list of IPs in 1 subnet
MAYBE you could do this with a bridge, and not using openvpn to assign ips (assigning them static instead)
but i couldnt support that, and dont even know if it is possible