Connect iPhone to home LAN through 3G
Posted: Wed Jul 31, 2013 8:57 am
hi all,
I've installed an openvpn client on my iphone and managed to get a connection to my VPN server.
my VPN server is also my DLNA server.
what i want to achieve is when i connect with my iphone to my pc, it will get an IP address for my home LAN, so i could reach my DLNA server.
so far i only managed to connect but i cant reach my home net 10.0.0.x, and i only get a 10.8.0.x address.
here's my configuration:
Server Side:
Client side:
Thanks for the helpers!! 
I've installed an openvpn client on my iphone and managed to get a connection to my VPN server.
my VPN server is also my DLNA server.
what i want to achieve is when i connect with my iphone to my pc, it will get an IP address for my home LAN, so i could reach my DLNA server.
so far i only managed to connect but i cant reach my home net 10.0.0.x, and i only get a 10.8.0.x address.
here's my configuration:
Server Side:
Code: Select all
port 1194
proto udp
dev tap
dev-node Tap-main
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files (x86)\\OpenVPN\\config\\dh1024.pem"
server 10.8.0.0 255.255.255.0
push "route 10.0.0.0 255.255.255.0"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client side:
Code: Select all
client
dev tun
proto udp
remote 10.0.0.6 1194
;remote my-server-2 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert yakir-iphone.crt
key yakir-iphone.key
ns-cert-type server
comp-lzo
verb 3
