Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVPN in "Bridge" mode #178

Open
jacrespo64 opened this issue Sep 4, 2020 · 4 comments
Open

OpenVPN in "Bridge" mode #178

jacrespo64 opened this issue Sep 4, 2020 · 4 comments

Comments

@jacrespo64
Copy link

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.

image

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

@furlongm
Copy link
Owner

I have not tried this mode before. If you run telnet localhost 5555 and then status 3, state, load-stats, what is the output?

@furlongm
Copy link
Owner

furlongm commented Oct 9, 2020

@jacrespo64 did that work?

@jacrespo64
Copy link
Author

Hi,

Sotty for my delay in answer. Not, not run.

@Cioko
Copy link

Cioko commented Oct 21, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants