I can connect from my iPad to my Debian Server with OpenVPN, but when i go on the iPad to (www.whatismyip.com) then i see my public IP (my current network) and not the public IP from my server. My idea is that i can use the public IP from my server.
I don't know is something wrong in my configs.
server.conf
Code: Select all
dev tun2
tls-server
dh easy-rsa2/keys/dh1024.pem
ca easy-rsa2/keys/ca.crt
cert easy-rsa2/keys/server.crt
key easy-rsa2/keys/server.key
server 10.0.0.0 255.255.255.0
log /var/log/openvpn-iphone.log
comp-lzo
script-security 2
route-up "/sbin/ifconfig tun2 up"
port 443
proto tcp-server
keepalive 30 120
Code: Select all
tls-client
remote mydomain.com
ca ca.crt
cert iOs.crt
key iOs.key
comp-lzo
port 443
proto tcp
Greeting