can't connect to internet

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kircon
OpenVpn Newbie
Posts: 1
Joined: Sun Apr 10, 2011 4:14 am

can't connect to internet

Post by kircon » Mon Apr 11, 2011 12:44 pm

I tried to setup OpenVPN server on Windows XP, here's the config
server.ovpn
-----------
local 192.168.233.128
port 443
proto tcp-server
dev tap
ifconfig 10.3.0.1 255.255.255.0
route 10.0.0.0 255.255.255.0 10.3.0.1
push "redirect-gateway def1"

secret keys/secret.key
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

client.ovpn
-------------
remote xx.xx.xx.xx
port 443
proto tcp-client
dev tap
ifconfig 10.3.0.2 255.255.255.0
push "redirect-gateway def1"
secret secret.key
http-proxy 192.168.0.34 3128 pwd basic
ping 10
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

I use the vpn to bypass some restricted do by the client firewall, like you know zynga poker.
Both machine (Windows XP) connected, ping fine, but i can't connect to internet through the ovpn server. it's look like i'm stucked.
I use torvpn server before, it works like a charm.

so please help me guys, i have done this for 5 days. and my fever become worst, hu..hu..

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: can't connect to internet

Post by janjust » Mon Apr 11, 2011 2:20 pm

don't use

Code: Select all

push "redirect-gateway def1"
in this mode, as no information is pushed/pulled in 'static key' mode.
Try using "redirect-gateway def1" on the client only and then enable masquerading or routing on the XP server - there's a nice thread on this forum on how to set this up for Windows XP.

Post Reply