So, I have an OpenVPN server on Windows Server 2008. Here are the settings (sorry, it's Russian, but I think it's understandable)
http://imgur.com/824zYNa http://imgur.com/pP2m22w
It is a VPS, so I can buy another IP address for clients. Right now I need to make following: client connects to server, which has 46.161.0.183, and then gets 46.161.0.185 when browsing the web.
What do I need to change or add to configs ? I'm sure the thing is in several lines
server config
dev tun
port 7777
proto udp
server 46.161.0.0 255.255.255.0
push "route 46.161.0.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
push "redirect-gateway"
client-to-client
tls-server
dh C:\\OpenVPN\\easy-rsa\\keys\\dh1024.pem
ca C:\\OpenVPN\\easy-rsa\\keys\\ca.crt
cert C:\\OpenVPN\\easy-rsa\\keys\\server.crt
key C:\\OpenVPN\\easy-rsa\\keys\\server.key
client-config-dir C:\\OpenVPN\\ccd
comp-lzo
keepalive 10 120
tun-mtu 1500
mssfix 1450
persist-key
persist-tun
verb 3
client's config
remote 46.161.0.183
port 7777
client
float
dev tun0
ping 10
comp-lzo
proto udp
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
route 46.161.0.0 255.255.255.0
verb 3
pull