Page 1 of 1

connected but can not access

Posted: Tue Aug 21, 2012 7:29 pm
by bishop2001
hi i'm successfully connected from my client to my server, but am curious on how to be able to access the local resources on my remote server. client is 10.10.10.6, server is 10.10.10.1. my private lan ethernet address at the remote location is using a 192.168.10.0 scheme. I see some configuration options in the config but im not sure exactly sure how to do it.

Thanks,

Re: connected but can not access

Posted: Wed Aug 22, 2012 6:29 am
by maikcat
hi there,

please post your configs so i can help you out...

regards

Michael.

Re: connected but can not access

Posted: Wed Aug 22, 2012 12:56 pm
by bishop2001
i'm pretty sure i didn't put the proper entries into my config file. Ill give that a shot and return here if it doesn't work. thanks.

Re: connected but can not access

Posted: Wed Aug 22, 2012 6:35 pm
by bishop2001
here are my server/client configs below. I can connect fine, but can't access anything on the server from the client machine. 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: connected but can not access

Posted: Thu Aug 23, 2012 6:34 am
by maikcat
hi there,

your server config looks ok...

did you enabled ip forwarding on server?
if you issue netstat -nr on your client,do you see the route for your internal net?
is there any firewall running on openvpn server?

Michael.

Re: connected but can not access

Posted: Mon Aug 27, 2012 5:23 pm
by bishop2001
i confirmed that i enabled ip forwarding enabled on the server and i confirmed that on my client
i see the route for my internet network. still no luck although i connect successfully establishing the connection. I also disabled
the firewall on the server.

Re: connected but can not access

Posted: Mon Aug 27, 2012 6:00 pm
by bishop2001
i see the routes added when i check on my client, but still cant access anything on the remote network.

Re: connected but can not access

Posted: Wed Aug 29, 2012 11:27 am
by maikcat
can you post the output of tracert of one your lan ips from your client?

Michael.

Re: connected but can not access

Posted: Wed Aug 29, 2012 2:55 pm
by bishop2001
so i can remote desktop to a machine on the remote lan, which is great. Question is, should i be able access a web server on the remote side, or is there some configuration i need to add for that ?