Auteur Topic: Accessing devices on home subnetwork through vpn server  (gelezen 3365 keer)

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Accessing devices on home subnetwork through vpn server
« Gepost op: 13 februari 2016, 22:09:49 »
Hello,
I have a 2 segment home network, and I will access a device that is located in a sub network. Unfortunately I didn't succeed. .. so I need some help. The situation. My router that is connected to Internet is connected to my root segment using the ip range 192.168.1.X.  in this segment my nas is located using a static ip adress 192.168.1.10. I succeeded to setup a vpn connection and can access all devices in that segment. Via a second router I created a second local network segment. The device that I will connected to via vpn is located in this segment and has a static ip adress 192.168.8.20.
Is it possible to connect via vpn to this device? And how? Otherwise what can I do to access the device?

Thanks in advance,
Harrie
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Pippin

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 103
  • -Ontvangen: 529
  • Berichten: 2.723
  • a.k.a. MMD
Re: Accessing devices on home subnetwork through vpn server
« Reactie #1 Gepost op: 13 februari 2016, 22:14:05 »

In this case the first question is, are you able to write Dutch?
DS414
OpenVPN #1: Beter beveiligen OpenVPN #2: Beter beveiligen als client

I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1343
  • -Ontvangen: 7824
  • Berichten: 43.256
  • FIFO / LIFO
    • Truebase
Re: Accessing devices on home subnetwork through vpn server
« Reactie #2 Gepost op: 13 februari 2016, 22:23:41 »
De naam Harrie "ziet" er Nederlands uit ;)


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-5
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive   1TB             BeeServer  BSM 1.0-65162                                                                 MR2200ac  SRM 1.2.5-8227-11

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Re: Accessing devices on home subnetwork through vpn server
« Reactie #3 Gepost op: 13 februari 2016, 22:38:35 »
Klopt....ik dacht dat ik op een Engelse forum zat...dan maar in het Nederlands. ..
Ik heb thuis een netwerk welke bestaat uit 2 segmenten. Nu wil ik mbv een vpn verbinding naar mijn nas een device accessen welke in het andere segment bevindt. Maar dat isme nog niet gelukt. Via een experia box ben ik aangesloten op het Internet.  Op de router van box is de nas aangesloten met een vast ip adres 192.168.1.10.
Ik kan een vpn verbinding op zetten en zo de andere devices die zich in het root segment bevinden benaderen. Ook de router die aan het tweede segment gekoppeld is. Nu wil ik een device benaderen die zich in het tweede segment bevindt met het ip adres 192.168.8.20. Helaas kan ik deze niet benaderen via de vpn verbinding. Nu de vragen:
- is dit mogelijk?
- zo ja,weet je wat er fout is gegaan ?
- zo nee, wat is het beste alernatief.?

Alvast bedankt,
Harrie
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Pippin

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 103
  • -Ontvangen: 529
  • Berichten: 2.723
  • a.k.a. MMD
Re: Accessing devices on home subnetwork through vpn server
« Reactie #4 Gepost op: 13 februari 2016, 22:47:46 »

Ben je bekend met WinSCP?

Stop de OpenVPN Server.
Navigeer dan met WinSCP naar
/usr/syno/etc/packages/VPNCenter/openvpn/openvpn.confen dubbelklik op openvpn.conf

Voeg vervolgens
push "route 192.168.8.0 255.255.255.0"toe en sla op.
Start de OpenVPN Server.
Testen.
DS414
OpenVPN #1: Beter beveiligen OpenVPN #2: Beter beveiligen als client

I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Re: Accessing devices on home subnetwork through vpn server
« Reactie #5 Gepost op: 16 februari 2016, 06:57:17 »
Bedankt nee niet mee bekend. Ik ga het vanavond proberen.  :)
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Re: Accessing devices on home subnetwork through vpn server
« Reactie #6 Gepost op: 29 februari 2016, 22:15:13 »
Ik heb eindelijk de push regel toegevoegd, maar kan helaas nog niet naar mijn device 192.168.8.x. Heb je een andere tip?

Alvast bedankt, Clemens
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Pippin

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 103
  • -Ontvangen: 529
  • Berichten: 2.723
  • a.k.a. MMD
Re: Accessing devices on home subnetwork through vpn server
« Reactie #7 Gepost op: 29 februari 2016, 23:21:57 »
Harrie of Clemens :?: Of Harrie Mens  :?: :)

Wat OpenVPN betreft zou een push voldoende moeten zijn.
Nu blijft waarschijnlijk het verkeer bij de tweede router hangen.
Merk en type van tweede router? Zoek ik de handleiding erbij.
DS414
OpenVPN #1: Beter beveiligen OpenVPN #2: Beter beveiligen als client

I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Re: Accessing devices on home subnetwork through vpn server
« Reactie #8 Gepost op: 01 maart 2016, 06:55:21 »
Het is een ea3500 van linksys.  Vandaag weer harrieen  :S  alvast bedankt Groeten  harrie
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Pippin

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 103
  • -Ontvangen: 529
  • Berichten: 2.723
  • a.k.a. MMD
Re: Accessing devices on home subnetwork through vpn server
« Reactie #9 Gepost op: 01 maart 2016, 11:32:33 »

Ok, dan eerst nog een keer iets toevoegen:

Stop de OpenVPN Server
Navigeer dan met WinSCP naar
/usr/syno/etc/packages/VPNCenter/openvpn/openvpn.confen dubbelklik op openvpn.conf

Voeg vervolgens
"route 192.168.8.0 255.255.255.0"toe en sla op.
Start de OpenVPN Server.
Testen.

Test overigens wel van buiten je eigen netwerk, b.v. een hotspot, bij de buren of vanuit je telefoon aan 3/4G met WiFi uit.
DS414
OpenVPN #1: Beter beveiligen OpenVPN #2: Beter beveiligen als client

I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Offline Harris 2

  • Bedankjes
  • -Gegeven: 2
  • -Ontvangen: 0
  • Berichten: 6
Re: Accessing devices on home subnetwork through vpn server
« Reactie #10 Gepost op: 01 maart 2016, 23:43:42 »
Wederom bedankt voor de tip. Ik heb het geprobeerd, maar kan nog steeds niet de andere kant van de linksys router kijken. Heb je toevallig nog andere tips?
Alvast bedankt,

Clemens
  • Mijn Synology: Ds211
  • HDD's: 2

Offline Pippin

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 103
  • -Ontvangen: 529
  • Berichten: 2.723
  • a.k.a. MMD
Re: Accessing devices on home subnetwork through vpn server
« Reactie #11 Gepost op: 02 maart 2016, 01:03:58 »

Tegelijkertijd toegevoegd?
push "route 192.168.8.0 255.255.255.0"
"route 192.168.8.0 255.255.255.0"
Zo ja, dan mogen ze beide blijven staan.

Heb je op de EA3500 ook de OpenVPN poort doorgestuurd?
Log dan in op de router en onder,
Applications & Gaming-->Port Range Forwarding
Application Name: OpenVPN
Start Port: 1194
End Port: 1194
Protocol: UDP
To IPv4 Address: 192.168.8.20
Enabled: Aanvinken
Save Settings
Tenzij je een andere poort en/of TCP gebruikt, dan vul je die in.

En proberen maar weer.
DS414
OpenVPN #1: Beter beveiligen OpenVPN #2: Beter beveiligen als client

I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp


 

Accessing a connected VPN client

Gestart door azonneveldBoard VPN Server

Reacties: 19
Gelezen: 7582
Laatste bericht 04 september 2015, 17:02:02
door Pippin