<div dir="ltr">Hi,<div><br></div><div>I have an issue when I want to connect to an embedded device with SSH through VPN. It's strange because, depending on the type of SIM (M2M or conventional SIM), the module (SIMCOM 7500 or 7600) and the driver (qmi or the one from simcom) it works or not.</div><div><br></div><div>The cases are:</div><div><ul><li>Using a M2M SIM and either qmicli/simcom drivers:</li><ul><li>Both modules (7500E and 7600G-H) work properly (embedded has Internet connection, and I can connect to it through SSH using the VPN.</li><li>With this SIM, the wwan0 interface has an IP 10.128.X.X.</li></ul><li>Using a "conventional" SIM:<br></li><ul><li>With the simcom driver, both modules work well (Internet + VPN).</li><li>With the qmicli, 7500E works well, but the 7600G-H only has Internet connection (VPN doesn't work).</li><li>With this SIM, the wwan0 interface has an IP 172.19.X.X.<br></li></ul></ul><br></div><div>When using qmicli I execute the following lines (using qmicli 1.16.2):</div><div><ol><li>qmicli -d /dev/cdc-wdm0 --dms-set-operating-mode='online'<br></li><li>ip link set wwan0 down<br></li><li>echo 'Y' | tee /sys/class/net/wwan0/qmi/raw_ip<br></li><li>ip link set wwan0 up<br></li><li>qmicli -p -d /dev/cdc-wdm0 --device-open-net='net-raw-ip|net-no-qos-header' --wds-start-network="apn='PROVIDER',ip-type=4" --client-no-release-cid<br></li><li>udhcpc -i wwan0<br></li><li>ifmetric wwan0 500<br></li></ol></div><div><div>When using simcom driver, I use raw AT commands + dhclient.</div><div><br></div><div>To sum up, it only fails the external SSH connection when using "conventional" SIM + 7600 + qmicli, so I guess it has to do with their configuration or something related.</div><div><br></div><div>Thank you in advance!</div><div>--<br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-size:medium;font-family:Arial"><tbody><tr><td style="vertical-align:middle"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr><td><h3 color="#53565a" style="margin:0px;font-size:18px;color:rgb(83,86,90)">Aaron Pica<br></h3><p color="#53565a" style="margin:0px;color:rgb(83,86,90);font-size:14px;line-height:22px">Head of Engineering<br></p><p color="#53565a" style="margin:0px;color:rgb(83,86,90);font-size:14px;line-height:22px">RD | Alfred Smart Systems</p><p color="#53565a" style="color:rgb(83,86,90);margin:0px;font-size:14px;line-height:22px">¡Mejora tu hogar!</p></td><td width="15"><div></div></td><td width="1" color="#ffc72c" style="width:1px;border-bottom:none;border-left:1px solid rgb(255,199,44)"></td><td width="15"><div></div></td><td><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr height="25" style="vertical-align:middle"><td width="30" style="vertical-align:middle"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr><td style="vertical-align:bottom"><span width="11" color="#ffc72c" style="display:block;background-color:rgb(255,199,44)"><img width="13" src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/phone-icon-2x.png" color="#ffc72c" style="display:block"></span></td></tr></tbody></table></td><td style="padding:0px;color:rgb(83,86,90)"><a href="tel:+34+93+115+25+35" color="#53565a" style="color:rgb(83,86,90);font-size:12px" target="_blank">+34 93 115 25 35</a> | <a href="tel:+34+679+565+350" color="#53565a" style="color:rgb(83,86,90);font-size:12px" target="_blank">+34 679 565 350</a></td></tr><tr height="25" style="vertical-align:middle"><td width="30" style="vertical-align:middle"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr><td style="vertical-align:bottom"><span width="11" color="#ffc72c" style="display:block;background-color:rgb(255,199,44)"></span></td></tr></tbody></table></td><td style="padding:0px"><a href="mailto:apica@alfredsmart.com" color="#53565a" style="color:rgb(83,86,90);font-size:12px" target="_blank">apica@alfredsmart.com</a></td></tr><tr height="25" style="vertical-align:middle"><td width="30" style="vertical-align:middle"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr><td style="vertical-align:bottom"><span width="11" color="#ffc72c" style="display:block;background-color:rgb(255,199,44)"><img width="13" src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/link-icon-2x.png" color="#ffc72c" style="display:block"></span></td></tr></tbody></table></td><td style="padding:0px"><a href="https://www.alfredsmart.com/" color="#53565a" style="color:rgb(83,86,90);font-size:12px" target="_blank">www.alfredsmart.com</a></td></tr><tr height="25" style="vertical-align:middle"><td width="30" style="vertical-align:middle"><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial"><tbody><tr><td style="vertical-align:bottom"><span width="11" color="#ffc72c" style="display:block;background-color:rgb(255,199,44)"><img width="13" src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/address-icon-2x.png" color="#ffc72c" style="display:block"></span></td></tr></tbody></table></td><td style="padding:0px"><span color="#53565a" style="font-size:12px;color:rgb(83,86,90)">Barcelona: Calle de Aragón, 182, Sobreático, 08011<br>Madrid: Calle Alfonso XII, 62, Planta 2, Oficina 2005, 28014<br>Valencia: La Marina de Valencia Muelle de la Aduana s/n, Edificio Lanzadera, 46024</span></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td height="30"></td></tr><tr><td height="1" color="#ffc72c" style="width:898px;border-bottom:1px solid rgb(255,199,44);border-left:none;display:block"></td></tr></tbody></table></div><div dir="ltr" style="color:rgb(34,34,34)"><br><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-size:medium;font-family:Arial"><tbody><tr><td><table cellpadding="0" cellspacing="0" style="vertical-align:-webkit-baseline-middle;font-family:Arial;width:898px"><tbody><tr><td style="vertical-align:top"><img width="130" src="https://uploads-ssl.webflow.com/5cade5a13eb34f06fa028b49/5cc81604a2534f6d531b7235_logo.png" style="max-width:130px;display:block"></td></tr></tbody></table></td></tr></tbody></table></div><div dir="ltr" style="color:rgb(34,34,34)"><div><i style="text-align:justify;font-size:12.8px"><span style="font-size:10pt"><font color="#000000"><br></font></span></i></div><div><div><i style="text-align:justify"><font color="#000000"><font face="Calibri, sans-serif"><span style="font-size:10pt">“La información contenida en este mensaje y/o archivo(s) adjunto(s), enviada desde ALFRED SMART SYSTEMS, S.L., es confidencial/privilegiada y está destinada a ser leída sólo por la(s) persona(s) a la(s) que va dirigida. Le recordamos que sus datos han sido incorporados en el sistema de tratamiento de ALFRED SMART SYSTEMS, S.L. y que siempre y cuando se cumplan los requisitos exigidos por la normativa, usted podrá ejercer sus derechos de acceso, rectificación, limitación de tratamiento, supresión, portabilidad y oposición/revocación, en los términos que establece la normativa vigente en materia de protección de datos, dirigiendo su petición a </span><span style="font-size:13.3333px">C/  DE ARAGÓN, 182, SOBREÁTICO, 08011, BARCELONA</span><span style="font-size:10pt"> o bien a través de correo electrónico </span></font><a href="mailto:lopd@alfredsmart.com" style="color:rgb(17,85,204);font-family:Calibri,sans-serif;font-size:10pt" target="_blank">lopd@alfredsmart.com</a><font face="Calibri, sans-serif"><span style="font-size:10pt">.</span></font></font></i></div><div><i style="font-family:Calibri,sans-serif;font-size:11pt;text-align:justify"><span style="font-size:10pt;line-height:15.3333px"><font color="#000000"><br></font></span></i></div><div><i style="font-family:Calibri,sans-serif;font-size:11pt;text-align:justify"><span style="font-size:10pt;line-height:15.3333px"><font color="#000000">Si usted lee este mensaje y no es el destinatario señalado, el empleado o el agente responsable de entregar el mensaje al destinatario, o ha recibido esta comunicación por error, le informamos que está totalmente prohibida, y puede ser ilegal, cualquier divulgación, distribución o reproducción de esta comunicación, y le rogamos que nos lo notifique inmediatamente y nos devuelva el mensaje original a la dirección arriba mencionada. Gracias”<br></font></span></i></div></div></div></div></div></div></div>