Koozali.org: home of the SME Server

VPN - PPTP - RDP, praticamente terminal in vpn di smeserver. delucidazioni...

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
Un amichevole saluto a tutti da un niubbo a cui piace fare delle prove sulla sua pellaccia prima di mettere nei casini i clienti.

Breve storia della mia esperienza:

  • premetto: di linux e linea di comando ne so abbastanza poco, sono un (quasi) sistemista MS oriented, ma disperato e stanco di quest'ultima ho cominciato a farmi delle domande e a trovare delle risposte su internet.

  • inizio settimana scorsa installato il primo sme server 7.3 su macchina di test, sfracellato con tutti i contribs che mi capitavano a tiro, tutto bello e tutto funzionante, è ancora in piedi e ci faccio le prove...

  • non contento metto anche ubuntu 8.04 sul portatile in gemellaggio con il (buon) vecchio xpsp3 e tutto va abbastanza bene, il tutto finalizzato per mettere in piedi uno sme server con i contro OO (si può dire sul forum? :oops:) che vada a sostituire il nostro W2003 SBS.

  • fino ad oggi tutti i problemi che ho incontrato sono riuscito a risolverli con l'aiuto del forum leggendo e cercando (nenonano docet ... search e leggiti bene il manuale)

Oggi sono ad un punto abbastanza fermo.

Richiesta:

Devo prendere in controllo da remoto utilizzando RDP il mio pc dell'ufficio (ed in futuro i pc dei miei clienti per assistenza eventualmente) ma non voglio farlo pubblicando la 3389 su internet con il redirect verso la macchina. Devo poterlo fare tramite vpn pptp (e non ssh o l2tp)

Ingredienti: (leggasi configurazione)

E-smith 7.3 configurato come segue: server-only, Domain Controller, DHCP, DNS, VPN server (per l'appunto), WEB Server (nel senso che ho pubblicato il contenuto di 2 i-bays per poter accedere a files anche dall'esterno dietro password ovviamente) Proxy Server, Backup via rete con Backup with DAR ... e mi sembra che basti per adesso, al mail server ci arriverò più avanti, anche se ho già provato fetchmail e roundcube con profitto.

Problema riscontrato:

Con portatile da casa con windows XP accedo alla vpn tranquillamente, pingo gli host interni, accedo alle condivisioni ed anche al server-manager, cerco di entrare in terminal sulla mia postazione e il server mi droppa la vpn. scollego e ricollego, stessa storia....

Provo con ubuntu (scaricandomi ed installandomi ovviamente il client per le pptp) entro, pingo e riesco addirittura ad utilizzare il remote desktop, evviva! :eek:

Premetto che con il server 2003 l'RDP via VPN PPTP funzionava benissimo quindi non è colpa dei router (ne ho 2, uno per fonia e l'altro per navigazione)

Prima di aprire un thread ho cercato e cercato sia nel forum italiano che in quello inglese, ed anche googlando un po... ho trovato il thread http://forums.contribs.org/index.php?topic=40314.0 nel quale un certo pfloor dice quanto segue:
Quote
Let's clear up a couple of things here so the OP is fully aware before he dives into VPN:

1-VPN is a tricky beast, it uses port 1723 AND protocol 47.  Protocol 47 (GRE) is not a port and therefor you can't just forward it and establishing a passthrough is difficult.

2-You can't VPN through an SME server to a local machine (as of now it doesn't work because of complications in #1).
Non voglio credere che non sia possibile, e mi chiedo come mai abbia avuto così tanta difficoltà a trovare altre persone con il mio stesso problema... magari c'è qualcosa di sbagliato nella configurazione del mio SME?

Grazie in anticipo per qualsivoglia risposta o idea.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Ciao giovanni

la tua conf. è ok.. del resto funziona e quindi..

premetto subito che quanto affermato da pfloor è che non puoi avere come server vpn pptp una macchina dietro SME; questo perchè SME non può fare (facilmente) il forward del protocollo GRE.. tutto qui..

domanda: al terminal server ci arrivi o no? la connessione cade prima che ti si presenti la schermata?

il fatto che accada solo con windows (da ubuntu è ok) mi fa pensare che sia quest'ultimo che si intrippa da qualche parte..

che errore ti da? in event viewer hai qualche riferimento?

mi documento e se trovo qualcosa lo posto

S.

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
Hai ragione Nenonano, ho "fraintenduto" il post in inglese ... complimenti! :lol:

Tornando a noi, raggiungo il "chiamiamolo" server che sarebbe la mia macchina dell'ufficio, faccio in tempo a volte a vedere la schermata di login a volte, e a volte riesco anche a passare oltre, ma dura poco più che 10 o 15 secondi, dopo di chè viene droppata la vpn... :twisted:

Offline Stefano

  • *
  • 10,894
  • +3/-0
ok.. ed in event viewer hai nulla?

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
ecco quanto:

Connessione
Quote
Tipo evento:   Informazioni
Origine evento:   RemoteAccess
Categoria evento:   Nessuno
ID evento:   20158
Data:      10/09/2008
Ora:      22.34.31
Utente:      N/D
Computer:   XXXXXXXX
Descrizione:
L'utente xxxxxx ha stabilito la connessione a XXXXXX utilizzando la periferica VPN3-1. :-|

Per ulteriori informazioni, consultare la Guida in linea e supporto tecnico all'indirizzo http://go.microsoft.com/fwlink/events.asp.
Disconnessione
Quote
Tipo evento:   Informazioni
Origine evento:   RemoteAccess
Categoria evento:   Nessuno
ID evento:   20159
Data:      10/09/2008
Ora:      22.38.23
Utente:      N/D
Computer:   XXXXXXXX
Descrizione:
La connessione a XXXXXXX eseguita dall'utente xxxxxx mediante la periferica VPN3-1 è stata interrotta.

Per ulteriori informazioni, consultare la Guida in linea e supporto tecnico all'indirizzo http://go.microsoft.com/fwlink/events.asp.
:twisted: :twisted: :twisted:

Questo è quanto... penso sia proprio lo sme che mi droppa...

Offline Stefano

  • *
  • 10,894
  • +3/-0
penso sia proprio lo sme che mi droppa...

/var/log/messages cosa dice?

prova a fare
Code: [Select]
grep -i pptp /var/log/messages

ciao

Stefano

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
sui /var/log/ messages ho trovato delle corrispondenze con qualcosa relativo al pptpd


Code: [Select]
Sep 10 22:15:44 advancesrv pppd[11992]: Exit.
Sep 10 22:15:44 advancesrv pptpd[11991]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:18:28 advancesrv pptpd[12368]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:18:28 advancesrv pptpd[12368]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:18:28 advancesrv pppd[12369]: Plugin radius.so loaded.
Sep 10 22:18:28 advancesrv pppd[12369]: RADIUS plugin initialized.
Sep 10 22:18:28 advancesrv pppd[12369]: pppd 2.4.4 started by root, uid 0
Sep 10 22:18:28 advancesrv kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Sep 10 22:18:28 advancesrv pppd[12369]: Using interface ppp0
Sep 10 22:18:28 advancesrv pppd[12369]: Connect: ppp0 <--> /dev/pts/0
Sep 10 22:18:29 advancesrv pptpd[12368]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:18:29 advancesrv pppd[12369]: MPPE 128-bit stateless compression enabled
Sep 10 22:18:31 advancesrv pppd[12369]: found interface eth0 for proxy arp
Sep 10 22:18:31 advancesrv pppd[12369]: local  IP address 192.168.128.1
Sep 10 22:18:31 advancesrv pppd[12369]: remote IP address 192.168.128.195
Sep 10 22:18:31 advancesrv esmith::event[12393]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 p$
Sep 10 22:18:31 advancesrv esmith::event[12393]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Sep 10 22:18:31 advancesrv esmith::event[12393]: expanding /etc/rc.d/init.d/masq
Sep 10 22:18:31 advancesrv esmith::event[12393]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Star$
Sep 10 22:18:31 advancesrv esmith::event[12393]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:18:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12395]: /home/e-smith/db/configuration: OLD pptpd$
Sep 10 22:18:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12395]: /home/e-smith/db/configuration: NEW pptpd$
Sep 10 22:18:31 advancesrv esmith::event[12393]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|St$
Sep 10 22:18:31 advancesrv esmith::event[12393]: Running event handler: /etc/e-smith/events/actions/adjust-services
Sep 10 22:18:32 advancesrv esmith::event[12393]: adjusting non-supervised masq (adjust)
Sep 10 22:18:32 advancesrv esmith::event[12393]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221077911 988$
Sep 10 22:23:29 advancesrv pppd[12369]: No response to 10 echo-requests
Sep 10 22:23:29 advancesrv pppd[12369]: Serial link appears to be disconnected.
Sep 10 22:23:29 advancesrv pppd[12369]: Connect time 5.0 minutes.
Sep 10 22:23:29 advancesrv pppd[12369]: Sent 9366 bytes, received 11477 bytes.
Sep 10 22:23:29 advancesrv pppd[12369]: MPPE disabled
Sep 10 22:23:29 advancesrv esmith::event[12569]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:23:29 advancesrv esmith::event[12569]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Sep 10 22:23:29 advancesrv esmith::event[12569]: expanding /etc/rc.d/init.d/masq
Sep 10 22:23:29 advancesrv esmith::event[12569]: generic_template_expand=action|Event|ip-down|Action|generic_template_expand|Start|12$
Sep 10 22:23:29 advancesrv esmith::event[12569]: Running event handler: /etc/e-smith/events/ip-down/S50isdn-down-notify
Sep 10 22:23:29 advancesrv esmith::event[12569]: S50isdn-down-notify=action|Event|ip-down|Action|S50isdn-down-notify|Start|1221078209$
Sep 10 22:23:29 advancesrv esmith::event[12569]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access


ehm ho copiato da pico... le righe sono tutte tagliate ad una certa lunghezza.... :roll: :roll: :roll:

invece eseguendo il comando
Quote
grep -i pptp /var/log/messages

ho ottenuto quanto segue:
Code: [Select]
Sep 10 22:12:48 advancesrv pptpd[11617]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:12:48 advancesrv pptpd[11617]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:12:50 advancesrv esmith::event[11642]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:12:51 advancesrv esmith::event[11642]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221077570 693205|End|1221077571 99140|Elapsed|0.405935
Sep 10 22:12:51 advancesrv esmith::event[11642]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:12:51 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[11645]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:12:51 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[11645]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:12:51 advancesrv esmith::event[11642]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221077571 99459|End|1221077571 244068|Elapsed|0.144609
Sep 10 22:12:51 advancesrv esmith::event[11642]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221077571 244440|End|1221077571 709579|Elapsed|0.465139
Sep 10 22:14:39 advancesrv pptpd[11617]: CTRL: Reaping child PPP[11618]
Sep 10 22:14:39 advancesrv esmith::event[11809]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:14:40 advancesrv esmith::event[11809]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:14:40 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[11831]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:14:40 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[11831]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:14:40 advancesrv esmith::event[11809]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221077680 111209|End|1221077680 257104|Elapsed|0.145895
Sep 10 22:14:40 advancesrv pptpd[11617]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:14:57 advancesrv pptpd[11991]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:14:57 advancesrv pptpd[11991]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:14:57 advancesrv pptpd[11991]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:14:59 advancesrv esmith::event[12016]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:15:00 advancesrv esmith::event[12016]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221077699 913162|End|1221077700 321065|Elapsed|0.407903
Sep 10 22:15:00 advancesrv esmith::event[12016]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:15:00 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12018]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:15:00 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12018]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:15:00 advancesrv esmith::event[12016]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221077700 321390|End|1221077700 465913|Elapsed|0.144523
Sep 10 22:15:00 advancesrv esmith::event[12016]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221077700 466290|End|1221077700 927458|Elapsed|0.461168
Sep 10 22:15:42 advancesrv pptpd[11991]: CTRL: Reaping child PPP[11992]
Sep 10 22:15:43 advancesrv esmith::event[12179]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:15:43 advancesrv esmith::event[12179]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:15:43 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12201]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:15:43 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12201]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:15:43 advancesrv esmith::event[12179]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221077743 624699|End|1221077743 769703|Elapsed|0.145004
Sep 10 22:15:44 advancesrv pptpd[11991]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:18:28 advancesrv pptpd[12368]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:18:28 advancesrv pptpd[12368]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:18:29 advancesrv pptpd[12368]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:18:31 advancesrv esmith::event[12393]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:18:31 advancesrv esmith::event[12393]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221077911 437404|End|1221077911 843598|Elapsed|0.406194
Sep 10 22:18:31 advancesrv esmith::event[12393]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:18:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12395]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:18:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12395]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:18:31 advancesrv esmith::event[12393]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221077911 843917|End|1221077911 988056|Elapsed|0.144139
Sep 10 22:18:32 advancesrv esmith::event[12393]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221077911 988426|End|1221077912 452731|Elapsed|0.464305
Sep 10 22:23:29 advancesrv esmith::event[12569]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:23:29 advancesrv esmith::event[12569]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:23:29 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12572]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:23:29 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12572]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:23:29 advancesrv esmith::event[12569]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221078209 812372|End|1221078209 957250|Elapsed|0.144878
Sep 10 22:23:32 advancesrv pptpd[12368]: CTRL: Reaping child PPP[12369]
Sep 10 22:23:32 advancesrv pptpd[12368]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:24:17 advancesrv pptpd[12752]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:24:17 advancesrv pptpd[12752]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:24:17 advancesrv pptpd[12752]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:24:19 advancesrv esmith::event[12777]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:24:20 advancesrv esmith::event[12777]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221078259 641007|End|1221078260 49907|Elapsed|0.4089
Sep 10 22:24:20 advancesrv esmith::event[12777]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:24:20 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12780]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:24:20 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[12780]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:24:20 advancesrv esmith::event[12777]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221078260 50223|End|1221078260 195917|Elapsed|0.145694
Sep 10 22:24:20 advancesrv esmith::event[12777]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221078260 196292|End|1221078260 659917|Elapsed|0.463625
Sep 10 22:28:34 advancesrv pptpd[12752]: CTRL: Reaping child PPP[12753]
Sep 10 22:28:34 advancesrv esmith::event[12953]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:28:35 advancesrv esmith::event[12953]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:28:35 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12975]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:28:35 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[12975]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:28:35 advancesrv esmith::event[12953]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221078514 999996|End|1221078515 145041|Elapsed|0.145045
Sep 10 22:28:35 advancesrv pptpd[12752]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:28:40 advancesrv pptpd[13134]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:28:40 advancesrv pptpd[13134]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:28:40 advancesrv pptpd[13134]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:28:42 advancesrv esmith::event[13160]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:28:42 advancesrv esmith::event[13160]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221078522 514175|End|1221078522 922050|Elapsed|0.407875
Sep 10 22:28:42 advancesrv esmith::event[13160]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:28:43 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[13162]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:28:43 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[13162]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:28:43 advancesrv esmith::event[13160]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221078522 922365|End|1221078523 66942|Elapsed|0.144577
Sep 10 22:28:43 advancesrv esmith::event[13160]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221078523 67312|End|1221078523 528851|Elapsed|0.461539
Sep 10 22:29:21 advancesrv pptpd[13134]: CTRL: Reaping child PPP[13135]
Sep 10 22:29:22 advancesrv esmith::event[13324]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:29:22 advancesrv esmith::event[13324]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:29:22 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[13346]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:29:22 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[13346]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:29:22 advancesrv esmith::event[13324]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221078562 624346|End|1221078562 768588|Elapsed|0.144242
Sep 10 22:29:23 advancesrv pptpd[13134]: CTRL: Client 87.238.18.26 control connection finished
Sep 10 22:34:26 advancesrv pptpd[13521]: CTRL: Client 87.238.18.26 control connection started
Sep 10 22:34:26 advancesrv pptpd[13521]: CTRL: Starting call (launching pppd, opening GRE)
Sep 10 22:34:29 advancesrv pptpd[13521]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 10 22:34:30 advancesrv esmith::event[13546]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:34:31 advancesrv esmith::event[13546]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1221078870 898809|End|1221078871 306084|Elapsed|0.407275
Sep 10 22:34:31 advancesrv esmith::event[13546]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Sep 10 22:34:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[13549]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:34:31 advancesrv /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[13549]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:34:31 advancesrv esmith::event[13546]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1221078871 306397|End|1221078871 450968|Elapsed|0.144571
Sep 10 22:34:31 advancesrv esmith::event[13546]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1221078871 451341|End|1221078871 925091|Elapsed|0.47375
Sep 10 22:38:22 advancesrv pptpd[13521]: CTRL: Reaping child PPP[13522]
Sep 10 22:38:22 advancesrv esmith::event[13753]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.128.1 192.168.128.195 pptpd
Sep 10 22:38:23 advancesrv esmith::event[13753]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Sep 10 22:38:23 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[13775]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:38:23 advancesrv /etc/e-smith/events/ip-down/S70pptp-interface-access[13775]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|5|status|enabled
Sep 10 22:38:23 advancesrv esmith::event[13753]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1221079103 429077|End|1221079103 573357|Elapsed|0.14428
Sep 10 22:38:24 advancesrv pptpd[13521]: CTRL: Client 87.238.18.26 control connection finished


a te la palla ora .... io gli ho dato un'occhiata ma non ci ho capito 'na mazza...

Grazie Ste..

Giovanni.



Offline Stefano

  • *
  • 10,894
  • +3/-0
ciao

ho trovato questo: http://forums.contribs.org/index.php?topic=41039.msg191044#msg191044 che riporta a questo: http://bugs.contribs.org/show_bug.cgi?id=549

come sospettavo è un problema di windows ;-)

in bugzilla, se non erro, trovi la soluzione (non ho letto, giornata pessima)

HTh
Ciao
Stefano

Offline docgigowatt

  • *
  • 9
  • +0/-0
  • Don't waste your time ....
    • Local Area Network FIXing
 :grin: :grin: :grin: Come sempre sei stato Grande!!! :grin: :grin: :grin:

Risolto il problema, avevi ragione, era proprio dovuto al valore dell'mtu che va corretto.

Questo problema si affaccia soltanto sui server 7.3 e soltanto per chi usa il Remote Desktop Protocol (RDP 3389) tramite VPN PPTP quindi se non ne siete affetti o non ve ne servite, non serve apportare variazioni ai template di configurazione pptpd in quanto tutti gli altri servizi funzionano comunque correttamente.

Per completezza del thread riposto qui i comandi che mi hai fatto gentilmente trovare nel bugzilla.

Per controllare lo stato del servizio e dei valori di configurazione:
Code: [Select]
cat /etc/ppp/options.pptpd
Per apportare la modifica:
Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/ppp/options.pptpd/
touch /etc/e-smith/templates-custom/etc/ppp/options.pptpd/mtu
touch /etc/e-smith/templates-custom/etc/ppp/options.pptpd/mru
signal-event remoteaccess-update

Per controllare l'avvenuta modifica:
Code: [Select]
cat /etc/ppp/options.pptpd
Grazie a te Stefano e a tutta la community di sme per lattività che state svolgendo  :grin:

Giovanni

P.s. Dal bugzilla si evince anche che nella versione 7.4 dovrebbe essere corretto già in partenza.

Offline Fumetto

  • *
  • 899
  • +1/-0
Mi riaggancio a questo topic (che mi era sfuggito, accidenti a me... averlo letto prima...) per un piccolo quesito:

Due utenti configurati su SME, entrambi con permessi di accesso a una cartella e due altre cartelle una con accesso esclusivo a un utente e una con accesso esclusivo all'altro (gestita tramite gruppi di appartenenza) e che accedono tranquillamente dalla LAN; utente e password di SME uguali a quelli del pc-windows che effettua l'accesso.
Se con il portatile dell'utente1 ci si collega in VPN usando user e password dell'utente 2, quali coppie di user e password saranno usate per l'accesso alle cartelle condivise, quelle dell'utente del PC o quelle di accesso alla VPN?

Offline Stefano

  • *
  • 10,894
  • +3/-0
ciao

da quel che so le credenziali per l'accesso alle risorse di rete sono quelle usate sulla macchina windows.. infatti puoi connetterti benissimo in vpn con delle credenziali ma non aver accesso alle risorse sul server con il tuo user e pwd di windows (se lavori con server diversi da diversi clienti capisci al volo) ;-)

HTH
Ciao

Stefano