vpn established no access to lan

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
bishop2001
OpenVpn Newbie
Posts: 10
Joined: Tue Aug 21, 2012 7:23 pm

vpn established no access to lan

Post by bishop2001 » Tue Aug 28, 2012 2:41 pm

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: vpn established no access to lan

Post by maikcat » Mon Sep 03, 2012 12:42 pm

hi there,

when your client connects, can he pings 192.168.121.1 ip?

what OS is your server/client?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

bishop2001
OpenVpn Newbie
Posts: 10
Joined: Tue Aug 21, 2012 7:23 pm

Re: vpn established no access to lan

Post by bishop2001 » Tue Sep 04, 2012 3:08 am

when the client connects i cannot ping. server/client are both windows.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: vpn established no access to lan

Post by maikcat » Tue Sep 04, 2012 7:35 am

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

bishop2001
OpenVpn Newbie
Posts: 10
Joined: Tue Aug 21, 2012 7:23 pm

Re: vpn established no access to lan

Post by bishop2001 » Tue Sep 04, 2012 12:30 pm

Windows xp sp3 on both ends

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: vpn established no access to lan

Post by maikcat » Wed Sep 05, 2012 7:09 am

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: vpn established no access to lan

Post by krzee » Wed Sep 05, 2012 7:39 am

try this troubleshooting flowchart http://ircpimps.org/serverlan.png

Post Reply