Viewing Currently Connected Clients
-
I have a pfsense server running, with 15 or so clients which can connect via OpenVPN. Its all running like a well oiled machine :) Flawless.
Ok, so sorry if this is a really obvious one, but how do I view currently connected clients ? as in, the client certificates which are currently in use ?
Must be a way, is it through the shell somehow ???
EDIT…
Ok I found out that 2.0 will have a VPN-Status feature, but is there any way at all I can currently do this with 1.2.3 ?
-
You can enable the managment console.
Search the forum for this term since there are threads about this. -
I am tinkering with backporting the 2.0 openvpn status to a 1.2.3 package if I can find time. It's been on my TODO list for about a month and I haven't had a chance to take a serious look yet.
-
I just uploaded a package for OpenVPN status which brings the status page from 2.0 to 1.2.3.
A few notes:
- It only works for OpenVPN servers in PKI mode
- Will list all active client connections with their common name, real IP, virtual IP, connect time, and bytes sent/received.
- You will have to manually enable the management interface for each OpenVPN server in the custom options box, using the port from that entry as well. For example, if your OpenVPN server is running on port 1194, use this:
management 127.0.0.1 1194;
I didn't write the code for this, just adjusted it slightly to work on PHP4/pfSense 1.2.3 and turned it into a package. Eventually I'd like to add support for killing a client connection, too, but not yet.
-
I just uploaded a package for OpenVPN status which brings the status page from 2.0 to 1.2.3.
…..................
I didn't write the code for this, just adjusted it slightly to work on PHP4/pfSense 1.2.3 and turned it into a package. Eventually I'd like to add support for killing a client connection, too, but not yet.It is working. Tnx for that package/feature. I am using that on linux routers with combination of webmin web management tool.
Regards
Sasa
-
I just uploaded a package for OpenVPN status which brings the status page from 2.0 to 1.2.3.
A few notes:
- It only works for OpenVPN servers in PKI mode
- Will list all active client connections with their common name, real IP, virtual IP, connect time, and bytes sent/received.
- You will have to manually enable the management interface for each OpenVPN server in the custom options box, using the port from that entry as well. For example, if your OpenVPN server is running on port 1194, use this:
management 127.0.0.1 1194;
I didn't write the code for this, just adjusted it slightly to work on PHP4/pfSense 1.2.3 and turned it into a package. Eventually I'd like to add support for killing a client connection, too, but not yet.
Thank you, very much appreciated, this is exactly what I needed!
-
Hye, sorry if my question seems stupid, but where can I find this package ?
Thx
-
In the same place all of the other packages are found. From your pfSense WebGUI, go to System > Packages.
Once there, it will be in the list. You may have to scroll down a bit to find it (or use your browser's search-this-page function, typically ctrl-f).
-
I haven't the System > Packages menu.
Maybe because I'm just testing it on a LiveCD…
-
I haven't the System > Packages menu.
Maybe because I'm just testing it on a LiveCD…
Packages are not available on LiveCD, so that would explain why you don't see it. You have to install to the HDD first and then you can install packages.