connected but can not access

Ask questions about your Access Server configuration here.
Post Reply
bishop2001
OpenVpn Newbie
Posts: 10
Joined: Tue Aug 21, 2012 7:23 pm

connected but can not access

Post by bishop2001 » Tue Aug 21, 2012 7:29 pm

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,

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

Re: connected but can not access

Post by maikcat » Wed Aug 22, 2012 6:29 am

hi there,

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

regards

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: connected but can not access

Post by bishop2001 » Wed Aug 22, 2012 12:56 pm

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.

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

Re: connected but can not access

Post by bishop2001 » Wed Aug 22, 2012 6:35 pm

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

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

Re: connected but can not access

Post by maikcat » Thu Aug 23, 2012 6:34 am

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.
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: connected but can not access

Post by bishop2001 » Mon Aug 27, 2012 5:23 pm

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.

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

Re: connected but can not access

Post by bishop2001 » Mon Aug 27, 2012 6:00 pm

i see the routes added when i check on my client, but still cant access anything on the remote network.

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

Re: connected but can not access

Post by maikcat » Wed Aug 29, 2012 11:27 am

can you post the output of tracert of one your lan ips from your 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: connected but can not access

Post by bishop2001 » Wed Aug 29, 2012 2:55 pm

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 ?

Post Reply