Hello,
my goal is to route the internet traffic from my network through a cyberghost vpn free connection on a laptop.
so far i was able to realize following setups:
1.
internet (cyberghost free vpn) <--- WLAN ---> laptop <--- LAN (microsoft ICS) ---> computer
2.
Internet (cyberghost free vpn) <--- LAN / WLAN ---> laptop <--- WLAN (connectify hotspot) ---> computer + iphone + chromecast
and i was able to establish a connection between the laptop and my iphone over openvpn.
here are the config files:
server.ovpn:
port 1194
proto udp
dev tun
server 10.0.0.0 255.255.255.0 #you may choose any subnet. 10.0.0.x is used for this example.
ca "E:\\OpenVPN - selbsterstellte certs\\keys\\ca.crt"
cert "E:\\OpenVPN - selbsterstellte certs\\keys\\server.crt"
key "E:\\OpenVPN - selbsterstellte certs\\keys\\server.key"
dh "E:\\OpenVPN - selbsterstellte certs\\keys\\dh1024.pem"
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
#the following commands are optional
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
#last updated May 29, 2011
client.ovpn:
client
dev tun
proto udp
remote 192.168.1.39 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "E:\\OpenVPN - selbsterstellte certs\\keys\\ca.crt"
cert "E:\\OpenVPN - selbsterstellte certs\\keys\\client1.crt"
key "E:\\OpenVPN - selbsterstellte certs\\keys\\client1.key"
ns-cert-type server
comp-lzo
verb 3
explicit-exit-notify 2
ping 10
ping-restart 60
route-method exe
route-delay 2
#last updated June 04, 2011
but my problem is that i cant connect the cyberghost vpn with microsoft ICS to the openvpn network!
if i enable ics on my cyberghost vpn and select the other one for sharing, the open vpn adapter gehts the ip "192.168.137.1" and the subnet "255.255.255.0" and then the iphone does not get any connection to the internet.
any solutions how i can solve the problem and connect my cyberghost vpn and my openvpn with microsoft ICS?