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 
fe31nz
1232 posts

Uber Geek


  #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.




chevrolux
4962 posts

Uber Geek
Inactive user


  #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.


Resnick
238 posts

Master Geek

Lifetime subscriber

  #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.




freitasm

BDFL - Memuneh
79288 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

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

*sigh*

 

Might have to get the OpenVPN up and running then. Will be back later.





Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


davidcole
6036 posts

Uber Geek

Trusted

  #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

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


freitasm

BDFL - Memuneh
79288 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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

 





Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


mentalinc
3238 posts

Uber Geek

Trusted

  #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: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
freitasm

BDFL - Memuneh
79288 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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.





Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


toywrc
1 post

Wannabe Geek


  #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....


freitasm

BDFL - Memuneh
79288 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1834564 31-Jul-2017 22:26
Send private message

Yes, I have that enabled.




Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.