OPENVPN client can't access machine on server side LAN

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Mon Feb 25, 2013 5:18 pm

Hi,

I have setup OPENVPN on Ubuntu Server 12.10 and the client on a windows Vista machine. OPENVP is using routing.

Working on one NIC card eth0
Server IP 192.168.0.100 LAN behind SERVER 192.168.0.0/24
VPN Server 10.8.0.1

Client IP 10.8.0.6

I can get the client to ping the Server IP and VPN Server IP
I can get the Machine with IP 192.168.0.7 to Ping the Client 10.8.0.6 by adding a STATIC route.

I can't ping from the client to the machine on the LAN with IP of 192.168.0.7.
I can't get the SERVER to Ping the client 10.8.0.6

Port Forwarding is enable and TUN interface has been allowed on the server.

I have read the HOW TOs and lots of posts.

I believe I have to set up some route to allow the two differnt networks to talk. like what did by adding a static route on the machin with IP 192.168.0.7. But I don't know how or what to put in.

Thanks

Craig

kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

Re: OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Mon Feb 25, 2013 6:49 pm

I had rebooted the server, which rest IP_FORWARD to 0.

I now have a problem where I can ping some devices on the LAN, but I can't ping the PC with IP 192.168.0.7 and it is running windows 7.

I can ping the router on 192.168.0.1 and ping the device with IP 192.168.0.5
So I can get the the 192.168.0.0/24 network from my client, but not the PC I want access too.

Any ideas?

Thanks

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: OPENVPN client can't access machine on server side LAN

Post by Douglas » Mon Feb 25, 2013 7:24 pm

Windows 7 firewalls often filter/block ICMP. Have you ruled that out?

kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

Re: OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Mon Feb 25, 2013 7:34 pm

Cheers Douglas.

That did the trick

kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

Re: OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Mon Feb 25, 2013 7:50 pm

Ok, I can ping the PC. I can't access the Shared Drive. Any other firewalls that windows 7 that would stop this? Or any ideas?

I can map a drive to the Ubuntu Server/VPNServer that has been setup as Samba share. Not the windows7 PC

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: OPENVPN client can't access machine on server side LAN

Post by Douglas » Tue Feb 26, 2013 5:03 am

Did you enable ICMP in the firewall or did you disable them?

kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

Re: OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Tue Feb 26, 2013 12:25 pm

Hi Douglas,
I did the following in the firewall.

Control Panel --> System and security --> Windows Firewall --> Advanced settings --> Inbound rules --> New rule --> custom rule

in Protocol and ports: Protocol: ICMPv4
on the same panel go to customize, choose "Specific ICMP types", check the box "echo request"

kiteboarder
OpenVpn Newbie
Posts: 6
Joined: Mon Feb 25, 2013 5:07 pm

Re: OPENVPN client can't access machine on server side LAN

Post by kiteboarder » Tue Feb 26, 2013 3:45 pm

I managed to fix my problem. To access the shared floder I had to open TCP port 445 on the Windows 7 firewall.

All is working now.

Thanks for your help

Post Reply