client log
Fri May 20 22:22:11 2011 ******* WARNING *******: null cipher specified, no encryption will be used
Fri May 20 22:22:11 2011 LZO compression initialized
Fri May 20 22:22:11 2011 Attempting to establish TCP connection with xx.xx.xx.xx:80
Fri May 20 22:22:11 2011 TCP connection established with xx.xx.xx.xx:80
Fri May 20 22:22:11 2011 TCPv4_CLIENT link local: [undef]
Fri May 20 22:22:11 2011 TCPv4_CLIENT link remote: xx.xx.xx.xx:80
Fri May 20 22:22:18 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri May 20 22:22:25 2011 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1528', remote='link-mtu 1560'
Fri May 20 22:22:25 2011 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Fri May 20 22:22:25 2011 [server] Peer Connection Initiated with xx.xx.xx.xx:80
Fri May 20 22:22:28 2011 TAP-WIN32 device [Local Area Connection 6] opened: \\.\Global\{A76F85F5-D78E-4DD1-871B-6F0F0F0508C2}.tap
Fri May 20 22:22:28 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.10.1.6/255.255.255.252 on interface {A76F85F5-D78E-4DD1-871B-6F0F0F0508C2} [DHCP-serv: 10.10.1.5, lease-time: 31536000]
Fri May 20 22:22:28 2011 Successful ARP Flush on interface [28] {A76F85F5-D78E-4DD1-871B-6F0F0F0508C2}
Fri May 20 22:22:34 2011 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=28]
Fri May 20 22:22:34 2011 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=28]
Fri May 20 22:22:34 2011 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=28]
Fri May 20 22:22:35 2011 ROUTE: route addition failed using CreateIpForwardEntry: One or more arguments are not correct. [status=160 if_index=28]
Fri May 20 22:22:35 2011 Initialization Sequence Completed
server config
local x.x.x.x
port 80
proto tcp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/2.0/keys/ca.crt
cert /etc/openvpn/2.0/keys/server.crt
key /etc/openvpn/2.0/keys/server.key
dh /etc/openvpn/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 4.2.2.1"
keepalive 5 30
cipher none
comp-lzo
persist-key
persist-tun
status server.log
resolve-retry 5
verb 1
mute 5
script-security 2
float
client config
client
dev tun
proto tcp
remote xx.xx.xx.xx 80
ns-cert-type server
resolv-retry infinite
nobind
persist-key
persist-tun
ca server/server-3/ca.crt
comp-lzo
verb 1
mute 5
auth-user-pass server/password.txt
cipher none
float
script-security 2
thank you
i tried to add this on server
route 10.157.0.0 255.255.255.0
push "route 10.157.0.0 255.255.255.0"
but nothing happen
help please
thank you