Hi,
I have just setup a VPN server in windows7 machine. , which is directly connected to internet .
Connection is successful. both client and server can ping each other. but when i am trying to ping any external server like google.com or trying to open
http://googe.com even trying to open google page using gogle IP like
http://74.125.236.78
nothing going. I can see using capture program traffic going to VPN server through VPN tunnel..but It seems server not sending it to internet like to google.com server to fetch the response.
I setup a Apache http server in my vpn server..and in this case I can open apache homepage using http://vpntunnelvirtualip(10.8.0.1)
I want to be able to browse all external websites through the tunnel.
i have added
push "redirect-gateway def1"
server file
#local xxxxxx # This is the IP address of the real network interface on the server connected to the router
port 57
proto udp
dev tun
ca "C:\\key\\ca.crt"
cert "C:\\key\\server.crt"
key "C:\\key\\server.key" # This file should be kept secret
dh "C:\\key\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "redirect-gateway def1 bypass-dhcp"
#push "dhcp-option DNS 10.8.0.1"
#push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
#comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 4
script-security 3
auth none
cipher none
#route 10.8.0.1 255.255.255.0
#push "route 10.8.0.2 255.255.255.0"
route-method exe
route-delay 2
client file
client
dev tun
proto udp
remote xxxxx 57
resolv-retry infinite
nobind
persist-key
persist-tun
#auth-nocache
ns-cert-type server
#comp-lzo
verb 3
reneg-sec 28800
ca "C:\\key\\ca.crt"
cert "C:\\key\\myclient.crt"
key "C:\\key\\myclient.key"
auth none
cipher none
route-method exe
route-delay 2
Do i need to do anything more in windows7 server side to achieve this. for linux server as searched in forum it says IPTABLE modification is required.
Can you pls help.
Pushing the redirect-gateway option to clients will cause all IP network traffic originating on client machines to pass through the OpenVPN server. The server will need to be configured to deal with this traffic somehow, such as [b]1> by NATing it to the internet[/b], or [b]2 > routing it through the server site's HTTP proxy[/b].
Can you pls elaborate above 2 points mainly using server site HTTP proxy server.
Thanks for your time.
asu2