Auteur Topic: Verbinding via L2TP lukt maar geen internetverbinding.  (gelezen 2436 keer)

Offline Tim__

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 353
  • -Ontvangen: 81
  • Berichten: 975
Verbinding via L2TP lukt maar geen internetverbinding.
« Gepost op: 31 mei 2014, 09:01:24 »

Hi all,Ik maak al meer dan een jaar probleemloos verbinding met mijn Mac's en iPhone naar de L2TP server op de Synology. Sinds kort werkt het echter niet meer om via die verbinding het net op te gaan.


Situatie:
poorten UDP 500,4500,1701 => open op de router, online check via een website zegt: ok!
firewall op de Synology => poorten op de Synology staan open: ok!
rechten op betrokken account: ok!
gegevens met betrekking tot login en 'sleutelwachtwoord': ok!




Ondanks ik verbinding heb met de Synology, en ik een intern ip-adres krijg, kan ik toch niet het niet op. Zelfs niet wanneer ik verbinding maak via L2TP in mijn netwerk (de router heeft ondersteuning voor NAT-loopback).


Wanneer ik in de logbestanden van mijn Mac kijk en ik filter op 'VPN', dan krijg ik dit:

31/05/14 08:49:00,159 racoon[447]: accepted connection on vpn control socket.
31/05/14 08:49:00,159 racoon[447]: received bind command on vpn control socket.
31/05/14 08:49:00,184 racoon[447]: vpn control writing 20 bytes
31/05/14 08:49:00,198 racoon[447]: vpn control writing 20 bytes
31/05/14 08:49:01,167 racoon[447]: vpn control writing 20 bytes
31/05/14 08:49:01,187 racoon[447]: vpn control writing 20 bytes
31/05/14 08:49:40,194 racoon[447]: vpn_control socket closed by peer.
31/05/14 08:49:40,208 racoon[447]: vpncontrol_close_comm.
31/05/14 08:49:44,305 racoon[447]: vpncontrol_close.
31/05/14 08:50:48,738 racoon[511]: accepted connection on vpn control socket.
31/05/14 08:50:48,738 racoon[511]: received bind command on vpn control socket.
31/05/14 08:50:48,749 racoon[511]: vpn control writing 20 bytes
31/05/14 08:50:48,776 racoon[511]: vpn control writing 20 bytes
31/05/14 08:50:49,820 racoon[511]: vpn control writing 20 bytes
31/05/14 08:50:49,839 racoon[511]: vpn control writing 20 bytes
31/05/14 08:51:07,892 racoon[511]: vpn_control socket closed by peer.
31/05/14 08:51:07,902 racoon[511]: vpncontrol_close_comm.
31/05/14 08:51:12,298 racoon[511]: vpncontrol_close.
31/05/14 08:51:22,229 racoon[550]: accepted connection on vpn control socket.
31/05/14 08:51:22,230 racoon[550]: received bind command on vpn control socket.
31/05/14 08:51:22,238 racoon[550]: vpn control writing 20 bytes
31/05/14 08:51:23,908 racoon[550]: vpn control writing 20 bytes
31/05/14 08:51:24,414 racoon[550]: vpn control writing 20 bytes
31/05/14 08:51:25,918 racoon[550]: vpn control writing 20 bytes
31/05/14 08:51:47,725 racoon[550]: vpn_control socket closed by peer.
31/05/14 08:51:47,738 racoon[550]: vpncontrol_close_comm.
31/05/14 08:51:51,840 racoon[550]: vpncontrol_close.

  • Mijn Synology: 1517+
  • HDD's: 4 x 4TB WD RED
  • Extra's: 215j & 218+

Offline Tim__

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 353
  • -Ontvangen: 81
  • Berichten: 975
Re: Verbinding via L2TP lukt maar geen internetverbinding.
« Reactie #1 Gepost op: 31 mei 2014, 09:05:04 »
Wanneer ik filter in de logbestanden op L2TP, krijg ik dit:
[size=78%]31/05/14 08:50:48,685 configd[18]: SCNC: start, triggered by (401) com.apple.prefe, type L2TP, status 0, trafficClass 0
31/05/14 08:50:48,711 pppd[510]: L2TP connecting to server 'xxx.synology.me' (xxx.xxx.xx.xx)...
31/05/14 08:50:49,839 racoon[511]: Connected.
com.apple.message.domain: com.apple.Networking.ipsec.connect.l2tpipsec
com.apple.message.result: success
com.apple.message.signature: success
Sender_Mach_UUID: 980C9AF3-2CF8-38E8-9159-FBDBDC39C538


31/05/14 08:50:52,076 pppd[510]: L2TP connection established.
31/05/14 08:50:52,653 pppd[510]: L2TP failed to set port-mapping for en0, errorCode: -65564
31/05/14 08:50:52,653 pppd[510]: L2TP port-mapping for en0 became invalid. is Connected: 1, Protocol: None, Private Port: 0, Previous publicAddress: (b277282f), Previous publicPort: (0)
31/05/14 08:50:52,653 pppd[510]: L2TP public port-mapping for en0 changed... starting faster probe.
31/05/14 08:50:55,178 pppd[510]: l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.16.9), current interface setting (name: ppp0, family: PPP, address: 10.0.8.1, subnet: 255.0.0.0, destination: 10.0.8.0).
31/05/14 08:51:07,645 pppd[510]: l2tp_wait_input: Address deleted. previous interface setting (name: en0, address: 192.168.16.9), deleted interface setting (name: ppp0, family: PPP, address: 10.0.8.1, subnet: 255.0.0.0, destination: 10.0.8.0).
31/05/14 08:51:07,886 pppd[510]: L2TP disconnecting...
31/05/14 08:51:07,886 pppd[510]: L2TP disconnected
31/05/14 08:51:21,393 configd[18]: SCNC: start, triggered by (173) SystemUIServer, type L2TP, status 0, trafficClass 0
31/05/14 08:51:22,199 pppd[549]: L2TP connecting to server 'xxxxx.synology.me' (xxx.xxx.xx.xx)...
31/05/14 08:51:25,917 racoon[550]: Connected.
com.apple.message.domain: com.apple.Networking.ipsec.connect.l2tpipsec
com.apple.message.result: success
com.apple.message.signature: success
Sender_Mach_UUID: 980C9AF3-2CF8-38E8-9159-FBDBDC39C538


31/05/14 08:51:27,925 pppd[549]: L2TP connection established.
31/05/14 08:51:28,492 pppd[549]: L2TP failed to set port-mapping for en0, errorCode: -65564
31/05/14 08:51:28,492 pppd[549]: L2TP port-mapping for en0 became invalid. is Connected: 1, Protocol: None, Private Port: 0, Previous publicAddress: (b277282f), Previous publicPort: (0)
31/05/14 08:51:28,493 pppd[549]: L2TP public port-mapping for en0 changed... starting faster probe.
31/05/14 08:51:32,083 pppd[549]: l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.16.9), current interface setting (name: ppp0, family: PPP, address: 10.0.8.1, subnet: 255.0.0.0, destination: 10.0.8.0).
31/05/14 08:51:47,716 configd[18]: SCNC: stop, triggered by (401) com.apple.prefe, type L2TP, reason User Requested
31/05/14 08:51:47,723 pppd[549]: L2TP disconnecting...
31/05/14 08:51:47,723 pppd[549]: L2TP disconnected
31/05/14 08:53:38,791 configd[18]: SCNC: stop, triggered by (18) configd, type L2TP, reason Service Disposed
31/05/14 08:53:38,791 configd[18]: SCNC: stop, triggered by (18) configd, type L2TP, reason Service Disposed
  • Mijn Synology: 1517+
  • HDD's: 4 x 4TB WD RED
  • Extra's: 215j & 218+

Offline Tim__

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 353
  • -Ontvangen: 81
  • Berichten: 975
Re: Verbinding via L2TP lukt maar geen internetverbinding.
« Reactie #2 Gepost op: 31 mei 2014, 10:48:44 »
Owkéé, dom dom dom! Ik had onlangs de interne ip-range aangepast en was vergeten bij de L2TP server de nieuwe gateway (die ook aangepast is door de nieuwe ip-range) aan te passen.

Probleem opgelost dus!

Draadje mag gesloten worden :-)
  • Mijn Synology: 1517+
  • HDD's: 4 x 4TB WD RED
  • Extra's: 215j & 218+


 

netwerk verbinding met diskstation

Gestart door deregtBoard NAS hardware vragen

Reacties: 1
Gelezen: 1628
Laatste bericht 18 januari 2014, 20:31:14
door deregt
VPN server gebruiken + VPN verbinding naar andere NAS

Gestart door steef27Board VPN Server

Reacties: 1
Gelezen: 1237
Laatste bericht 10 september 2016, 13:16:58
door Birdy
via filemanager verbinding maken met een Truenas systeem

Gestart door walbergBoard Externe harddisks en Printers

Reacties: 1
Gelezen: 858
Laatste bericht 31 maart 2022, 17:31:29
door Briolet
DS Cam verbinding

Gestart door Arjan1981Board Android Apps

Reacties: 3
Gelezen: 982
Laatste bericht 27 januari 2024, 20:20:20
door Arjan1981
Foutcode -3 CLoudstation verbinding

Gestart door Marco MathijssenBoard Cloud Station & Drive

Reacties: 4
Gelezen: 1484
Laatste bericht 26 december 2017, 11:36:04
door Marco Mathijssen