Page 1 of 1

vpn established no access to lan

Posted: Tue Aug 28, 2012 2:41 pm
by bishop2001
hi, i have successfully connected from client to server and i see the routes added to my client. I disabled the firewall just
to see if i could access the local lan on the server side, but i cannot. I also enabled ip routing on the server.
here are my server/client configs below. Any suggestions ? Thanks,

#################################
port 9897
proto tcp
dev tun
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"
server 192.168.121.0 255.255.255.0
push "route 192.168.122.0 255.255.255.0"
client-config-dir "C:\\Program Files\\OpenVPN\\config\\ccd"
client-to-client
keepalive 10 120
comp-lzo
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key"
max-clients 5
persist-key
persist-tun
verb 4
#################################
here is my client config:
client
dev tun
dev-node openvpn
proto tcp
remote 77.123.123.55 9897
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\work-lap.crt"
key "C:\\Program Files\\OpenVPN\\config\\work-lap.key"
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key"
comp-lzo
verb 4
mute 20

Re: vpn established no access to lan

Posted: Mon Sep 03, 2012 12:42 pm
by maikcat
hi there,

when your client connects, can he pings 192.168.121.1 ip?

what OS is your server/client?

Michael.

Re: vpn established no access to lan

Posted: Tue Sep 04, 2012 3:08 am
by bishop2001
when the client connects i cannot ping. server/client are both windows.

Re: vpn established no access to lan

Posted: Tue Sep 04, 2012 7:35 am
by maikcat
server/client are both windows.
i can see that (or there is c drive & program files folder in linux... :mrgreen: )

WHICH windows are you using?

Michael.

Re: vpn established no access to lan

Posted: Tue Sep 04, 2012 12:30 pm
by bishop2001
Windows xp sp3 on both ends

Re: vpn established no access to lan

Posted: Wed Sep 05, 2012 7:09 am
by maikcat
when the client connects i cannot ping
if you cannot ping openvpn servers virtual ip then:

post server logs
post output of netstat -nr on client


Michael.

Re: vpn established no access to lan

Posted: Wed Sep 05, 2012 7:39 am
by krzee
try this troubleshooting flowchart http://ircpimps.org/serverlan.png