Hi guys, please help me,
I need help configuring Open Vpn server on windows 7, i need it to pass internet to my android device connected through the mobile connection, also would like the android to be able to see the other devices on the same network
i tried this tutorial (
https://community.openvpn.net/openvpn/wiki/NatHack) but it is a complete mess on windows 7 because the netsh command does not work on win 7, i tried with a windows XP Spanish and even worse, i don't know the service names in Spanish and don't want to use windows XP anyways
i got the android(client conected via internet, with phone mobile data connection) and another windows(client in the same lan network than server) to connect to the windows 7(server) successfully, they can ping each other and the server, but there is no internet
here is my server configuration (windows 7)
port 80
proto tcp
;dev tap
dev tun
dev-node tap-bridge
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
;push "redirect-gateway def1 bypass-dhcp"
push "redirect-gateway def1"
client-to-client
duplicate-cn
keepalive 10 120comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
and client configuration (android and windows clients)
client
;dev tap
dev tun
;dev-node MyTap
proto tcp
;proto udp
remote ***.***.***.171 80
;remote my-server-2 1194
;remote-random
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert celtest2.crt
key celtest2.key
remote-cert-tls server
comp-lzo
verb 3
;mute 20
pd: main goal was to make the open vpn server with a bridge between 'tap adapter' and 'lan adapter' but turns out that android wont support (dev tap), but if there is a way of making my android believe its in the same network via bridge or similar with the same ips, than please give me directions on what to do for that too, for now internet is the priority to fix, second is routing to see other network devices, and lastly if possible bridge mode to have the same network ip adress range (android)