Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
352 posts

Ultimate Geek
+1 received by user: 72


  Reply # 1834370 31-Jul-2017 15:02
Send private message

@freitasm:

 

Ok, so I have changed the VPN configuration to use the same IP range as the LAN, and it's working as before - it connects, can access the Internet but can't see LAN devices - no ping, no RDP, etc.

 

I suspect the L2TP protocol implementation is blocking this, because the OpenVPN tab has an option to allow VPN devices to see the LAN devices, which is not in the L2TP tab. Only using L2TP because no client is required on both Android and Windows, but might have to look at the OpenVPN implementation...

 

For those who mentioned the subnet... Yes, I understand how it won't see each other but thought there would be a way to define a route to get packets from one to another. Since nothing in that front I just change the IP range.

 

 

Just using the same IP range is insufficient to get broadcast traffic - you need to have bridging set up between the home subnet and the VPN subnet.  In OpenVPN, there are extra options for bridging - maybe L2TP does not support that.  I have never used L2TP as I always wanted the best encryption and OpenVPN allows me to do that.


3477 posts

Uber Geek
+1 received by user: 1251

Subscriber

  Reply # 1834373 31-Jul-2017 15:09
Send private message

I suspect the L2TP protocol implementation is blocking this, because the OpenVPN tab has an option to allow VPN devices to see the LAN devices, which is not in the L2TP tab. Only using L2TP because no client is required on both Android and Windows, but might have to look at the OpenVPN implementation

 

I would take a punt that the option is there so it adds the "push route" stuff to the openVPN config. Or it is creating the appropriate "accept" firewall rules for you.

 

Did you check your client is set to use the VPN connection as the default route? On your windows client do a "route print" and you should see your VPN interface has a low metric if it is set as default route. Otherwise it gets a high metric in the sort of 200+ range.


149 posts

Master Geek
+1 received by user: 26

Lifetime subscriber

  Reply # 1834441 31-Jul-2017 16:26
Send private message

@freitasm:

 

I suspect the L2TP protocol implementation is blocking this, because the OpenVPN tab has an option to allow VPN devices to see the LAN devices, which is not in the L2TP tab. Only using L2TP because no client is required on both Android and Windows, but might have to look at the OpenVPN implementation...

 

 

 

 

I think you're right. Seems you cant push routes to a client in a L2TP tunnel, it needs to be configured client side and my head is hurting reading the microsoft documentation.

 

 

 

It's fairly straightforward to achieve what you want using openvpn though, and there are plenty of free open source clients to choose from.




BDFL - Memuneh
60812 posts

Uber Geek
+1 received by user: 11690

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1834442 31-Jul-2017 16:28
Send private message
3940 posts

Uber Geek
+1 received by user: 493

Trusted

  Reply # 1834446 31-Jul-2017 16:39
Send private message

While not using the same hard are. I have had two l2tp Vpns, one was i into, the other is a ubiquiti USG, both able to access my local network. One as a portion of the regular subnet and the other as a new vlan/subnet.

But I've only ever use iOS as the client, unless that has any bearing on it.




Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




BDFL - Memuneh
60812 posts

Uber Geek
+1 received by user: 11690

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1834449 31-Jul-2017 16:48
Send private message

OpenVPN up and running, connected but still no LAN-side access, only Internet... This is the route table when connected

 

 

=======
Interface List
3...34 64 a9 03 c9 ee ......Intel(R) Ethernet Connection (3) I218-LM
14...60 57 18 a5 83 8c ......Microsoft Wi-Fi Direct Virtual Adapter
36...00 ff 97 03 59 4a ......TAP-Windows Adapter V9
5...60 57 18 a5 83 8b ......Intel(R) Dual Band Wireless-AC 7265
1...........................Software Loopback Interface 1
10...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
=======

 

IPv4 Route Table
=======
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.43.1 192.168.43.252 35
0.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 35
10.8.0.0 255.255.255.0 10.8.0.5 10.8.0.6 35
10.8.0.1 255.255.255.255 10.8.0.5 10.8.0.6 35
10.8.0.4 255.255.255.252 On-link 10.8.0.6 291
10.8.0.6 255.255.255.255 On-link 10.8.0.6 291
10.8.0.7 255.255.255.255 On-link 10.8.0.6 291
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
128.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 35
192.168.2.0 255.255.255.0 10.8.0.5 10.8.0.6 35
192.168.43.0 255.255.255.0 On-link 192.168.43.252 291
192.168.43.252 255.255.255.255 On-link 192.168.43.252 291
192.168.43.255 255.255.255.255 On-link 192.168.43.252 291
203.86.203.11 255.255.255.255 192.168.43.1 192.168.43.252 35
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 10.8.0.6 291
224.0.0.0 240.0.0.0 On-link 192.168.43.252 291
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 10.8.0.6 291
255.255.255.255 255.255.255.255 On-link 192.168.43.252 291

 





1557 posts

Uber Geek
+1 received by user: 149

Trusted

  Reply # 1834466 31-Jul-2017 17:07
Send private message

Are you trying to use IP or hostnames of internal systems?

 

i.e. is it an internal DNS issue not so much a routing issue?





CPU: Intel 3770k| RAM: F3-2400C10D-16GTX G.Skill Trident X |MB:  Gigabyte Z77X-UD5H-WB | GFX: GV-N660OC-2GD gv-n660oc-2gd GeForce GTX 660 | Monitor: Qnix 27" 2560x1440

 

 




BDFL - Memuneh
60812 posts

Uber Geek
+1 received by user: 11690

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1834468 31-Jul-2017 17:19
Send private message

Sorted on OpenVPN. LAN still on 192.168.2.0, OpenVPN on 10.8.0.0/24... Created a router firewall rule explicitly allowing traffic from 10.8.0.0 to any 192.168.2.0 destination. On my HP Microserver I created an inbound rule allowing connections from 10.8.0.0 - 10.8.0.254 (note that Windows Firewall wouldn't allow connection if using 10.8.0.0/24). 

 

Now I can access both the router and devices on LAN.

 

Thanks for all suggestions.





1 post

Wannabe Geek


  Reply # 1834562 31-Jul-2017 22:24
Send private message

Hi,

 

I know you have sorted your VPN already through firewall rules but have you tried editing VPNConfig.ovpn and enabling "redirect-gateway def1"?

 

I also have the synology router and trying to learn these things....




BDFL - Memuneh
60812 posts

Uber Geek
+1 received by user: 11690

Administrator
Trusted
Geekzone
Lifetime subscriber

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.