Connection to Siemens LOGO! CMR 2040

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Koppit
OpenVpn Newbie
Posts: 1
Joined: Sat Oct 07, 2017 9:31 am

Connection to Siemens LOGO! CMR 2040

Post by Koppit » Sat Oct 07, 2017 9:58 am

Hi,

I just bought a this module to connect to my LOGO! 8 over the cellular network.
The module lets you download a file with the with client configuration.
I am using this file but have not been able to establish a connection.

Configuratio File:

Code: Select all

dev tun0
disable-occ
remote x.hopto.org 1194
ifconfig 10.8.0.1 10.8.0.2
nobind
keepalive 15 60
route 192.168.1.0 255.255.255.0
tun-mtu 1500
fragment 1371
mssfix 1282
persist-key
replay-window 512 15
cipher AES-128-CBC
auth SHA256
comp-lzo
verb 4
key-direction 1
<secret>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
x
-----END OpenVPN Static key V1-----
</secret>
The Client Log:

Code: Select all

Sat Oct 07 11:24:43 2017 us=449141 Restart pause, 300 second(s)
Sat Oct 07 11:29:43 2017 us=486889 Re-using pre-shared static key
Sat Oct 07 11:29:43 2017 us=486889 LZO compression initializing
Sat Oct 07 11:29:43 2017 us=486889 MANAGEMENT: >STATE:1507368583,RESOLVE,,,,,,
Sat Oct 07 11:29:43 2017 us=541603 interactive service msg_channel=108
Sat Oct 07 11:29:43 2017 us=549574 ROUTE_GATEWAY 192.168.0.1/255.255.255.0 I=6 HWADDR=xx:xx:xx:xx:xx:xx
Sat Oct 07 11:29:43 2017 us=549574 open_tun
Sat Oct 07 11:29:43 2017 us=553546 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{4F035FB7-535B-4838-A935-490E97B2D180}.tap
Sat Oct 07 11:29:43 2017 us=553546 TAP-Windows Driver Version 9.21 
Sat Oct 07 11:29:43 2017 us=553546 TAP-Windows MTU=1500
Sat Oct 07 11:29:43 2017 us=557546 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {4F035FB7-535B-4838-A935-490E97B2D180} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Sat Oct 07 11:29:43 2017 us=562652 Successful ARP Flush on interface [45] {4F035FB7-535B-4838-A935-490E97B2D180}
Sat Oct 07 11:29:43 2017 us=575421 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sat Oct 07 11:29:43 2017 us=575421 MANAGEMENT: >STATE:1507368583,ASSIGN_IP,,10.8.0.1,,,,
Sat Oct 07 11:29:43 2017 us=575421 Data Channel MTU parms [ L:1577 D:1282 EF:77 EB:398 ET:0 EL:3 ]
Sat Oct 07 11:29:43 2017 us=575421 Fragmentation MTU parms [ L:1577 D:1371 EF:76 EB:398 ET:1 EL:3 ]
Sat Oct 07 11:29:43 2017 us=575421 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1577,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.2 10.8.0.1,comp-lzo,mtu-dynamic,keydir 1,cipher AES-128-CBC,auth SHA256,keysize 128,secret'
Sat Oct 07 11:29:43 2017 us=575421 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1577,tun-mtu 1500,proto UDPv4,ifconfig 10.8.0.1 10.8.0.2,comp-lzo,mtu-dynamic,keydir 0,cipher AES-128-CBC,auth SHA256,keysize 128,secret'
Sat Oct 07 11:29:43 2017 us=575421 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1194
Sat Oct 07 11:29:43 2017 us=579420 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat Oct 07 11:29:43 2017 us=579420 UDP link local: (not bound)
Sat Oct 07 11:29:43 2017 us=579420 UDP link remote: [AF_INET]xxx.xxx.xxx.xxx:1194
Sat Oct 07 11:30:43 2017 us=456491 Inactivity timeout (--ping-restart), restarting
Sat Oct 07 11:30:43 2017 us=456491 TCP/UDP: Closing socket
Sat Oct 07 11:30:43 2017 us=456491 Closing TUN/TAP interface
Sat Oct 07 11:30:43 2017 us=484465 TAP: DHCP address released
Sat Oct 07 11:30:43 2017 us=484465 SIGUSR1[soft,ping-restart] received, process restarting
Sat Oct 07 11:30:43 2017 us=484465 MANAGEMENT: >STATE:1507368643,RECONNECTING,ping-restart,,,,,
Sat Oct 07 11:30:43 2017 us=484465 Restart pause, 300 second(s)

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection to Siemens LOGO! CMR 2040

Post by TinCanTech » Sat Oct 07, 2017 12:51 pm

Koppit wrote:
Sat Oct 07, 2017 9:58 am
I just bought a this module to connect to my LOGO! 8
A what ?
Koppit wrote:
Sat Oct 07, 2017 9:58 am
The module lets you download a file with the with client configuration.
Do you have to set it up ? Because that is not a client configuration ..

ajfdezg
OpenVpn Newbie
Posts: 3
Joined: Sun Aug 30, 2020 9:13 am

Re: Connection to Siemens LOGO! CMR 2040

Post by ajfdezg » Sat Sep 05, 2020 9:47 pm

Hi,

I am having the same problem. I know this is an old post but, has anyone found a way to solve this?

Thanks!

udea
OpenVpn Newbie
Posts: 1
Joined: Wed Sep 23, 2020 6:52 am

Re: Connection to Siemens LOGO! CMR 2040

Post by udea » Wed Sep 23, 2020 7:10 am

I have the same problem too.
The CMR2040 ist connected to the mobile network, noip shows the same public ip as on CMR2040 in the "WAN" tab.
Then i tried in OpenVPN-PSK tab by generating new key - download -> import in open VPN Client 2.5_beta4.
Second tray was to generate public Key and to import on CMR2040.

I guess the data connection should be okay but the vpn wont work.

unfortunately by searching a solution, i always fond questions without any answers.
For configuration i used a siemens manual as 109747067_PC_LOGO_DOKU_V10_de.pdf

How i can check the connection between CMR2040 and a client? Ping do not respond.
Sending emails works fine.

Any ideas? :roll:

later:
jepp, i received an not public ip like "10.15.53.xxx", so it is not possible to connect the CMR2040 by the open vpn client.
Solution: i have to change the carrier..

Post Reply