N2n: Is this right? MANAGEMENT: Client connected from [AF_INET]127.0.0.1:1001

Hi there,

shouldn’t be the managment connection to the remote openvpn server? Somehow conflicting. It states that it is connected, but the n2n network doesn’t work.

ip add

tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none
inet 10.42.142.2 peer 10.42.142.1/32 scope global tun0
valid_lft forever preferred_lft forever

State is unknown on the tunnel Interface. What am I missing, please?

Jun 28 14:55:31 bomj-labs ToCentraln2n[21347]: [xx.xx.xx] Peer Connection Initiated with [AF_INET]xx.xx.xx.xx:xx
Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: Initialization Sequence Completed
Jun 28 14:55:32 bomj-labs collectd[21440]: Initialization complete, entering read-loop.
Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: MANAGEMENT: Client connected from [AF_INET]127.0.0.1:4242
Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: MANAGEMENT: CMD ‘state’
Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: MANAGEMENT: Client disconnected
Jun 28 14:55:35 bomj-labs vnstatd[15643]: Interface “tun0” enabled.

Hi,
the management interface are used to display the connection state in the web UI --> https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=html/cgi-bin/ovpnmain.cgi;h=bcd51df6d0bdac25b59b1092c0f639d0d3baed47;hb=refs/heads/core147#l5380 .

According to your log

Jun 28 14:55:32 bomj-labs ToCentraln2n[21347]: Initialization Sequence Completed

the connection has been initialized and should be up.

Best,

Erik