OpenVPN Server at home: no internet access IP_Forwarding
Posted: Mon Oct 06, 2014 2:05 pm
Hi all,
I'm a brand new OpenVPN user so forgive my lack of knowledge
I'm currently having troubles with my home-made OpenVPN server. I'm running this server on a Windows 7 machine and my clients are one Windows 7 computer and an Android smartphone.
Clients can actually connect to the VPN but they are not connected to the Internet. Ping 8.8.8.8 doesn't work. I want all client's trafic (web included) to go through my VPN. Here is my server conf file:
My Windows 7 client conf:
On connection, my Windows 7 client get IP address 10.10.10.14 and is unable ton ping server on 10.10.10.1 and doesn't have Internet access at all.
Tell me if you need more information and thanks for your help
I'm a brand new OpenVPN user so forgive my lack of knowledge
I'm currently having troubles with my home-made OpenVPN server. I'm running this server on a Windows 7 machine and my clients are one Windows 7 computer and an Android smartphone.
Clients can actually connect to the VPN but they are not connected to the Internet. Ping 8.8.8.8 doesn't work. I want all client's trafic (web included) to go through my VPN. Here is my server conf file:
Code: Select all
port 1723
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto tcp
remote *.*.94.6 1723
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert flo-17r.crt
key flo-17r.key
ns-cert-type server
comp-lzo
verb 3
Tell me if you need more information and thanks for your help