How to setup a OpenVPN network where the client specified IP
Posted: Thu Jan 28, 2010 2:12 pm
I'm trying to setup a OpenVPN network with a UDP server and have the clients specify their own IP addresses.
How do I do that? Perhaps a simple question but I could need some help.
What I got so far, but it's not working:
[SERVER]
proto udp
dev tun
server 10.8.0.0 255.255.255.0
duplicate-cn
[CLIENT]
dev tun
proto udp
remote SECRET_IP 1194
ifconfig 10.8.0.10 255.255.255.0
How do I do that? Perhaps a simple question but I could need some help.
What I got so far, but it's not working:
[SERVER]
proto udp
dev tun
server 10.8.0.0 255.255.255.0
duplicate-cn
[CLIENT]
dev tun
proto udp
remote SECRET_IP 1194
ifconfig 10.8.0.10 255.255.255.0