openvpn-monitor
openvpn-monitor copied to clipboard
OpenVPN in "Bridge" mode
365/5000 Hi.
It really works correctly and without any problem as long as the server is configured by default in NAT, but in my case, I have one in "Bridge" mode, and this is what it shows me.

Do you know if there is any way to also show users for when the server is working in bridge mode?
Thanks and congratulations on the development
I have not tried this mode before. If you run telnet localhost 5555 and then status 3, state, load-stats, what is the output?
@jacrespo64 did that work?
Hi,
Sotty for my delay in answer. Not, not run.
Hello, I have the same problem. With a classic TUN configuration everything works, but in my case, I use a TAP configuration with external DHCP server and the monitor does NOT show the details of the connections. I think the problem is that openvpn doesn't know the ip released by the DHCP server and the Monitor use this value as key... is there any way to use the remote address as a key? Or maybe you know how to make the OpenVPN server recognize the IP client issued by an external DHCP?
Below the output of the commands suggested by @furlongm :
status 3
TITLE OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021
TIME Thu Oct 21 12:34:10 2021 1634812450
HEADER CLIENT_LIST Common Name Real Address Virtual Address Virtual IPv6 Address Bytes Received Bytes Sent Connected Since Connected Since (time_t) Username Client ID Peer ID
CLIENT_LIST rbc XX.XX.XX.XX:1194 151697 125635182 Wed Oct 20 17:26:47 2021 1634743607 rbc 1 1
CLIENT_LIST bsc YY.YY.YY.YY:1194 7265680 148845296 Wed Oct 20 17:10:25 2021 1634742625 bsc 0 0
HEADER ROUTING_TABLE Virtual Address Common Name Real Address Last Ref Last Ref (time_t)
ROUTING_TABLE 00:ff:1e:8e:61:ea rbc XX.XX.XX.XX:1194 Wed Oct 20 18:02:02 2021 1634745722
ROUTING_TABLE 00:ff:51:8d:13:d3 bsc YY.YY.YY.YY:1194 Thu Oct 21 12:34:07 2021 1634812447
GLOBAL_STATS Max bcast/mcast queue length 2
END
state
1634742518,CONNECTED,SUCCESS,,,,,
END
load-stats
SUCCESS: nclients=2,bytesin=7433047,bytesout=274946888
Best regards, Luca