This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VPN monitoring

Hello,

I have few questions, and I think I'm not the only one who might be interested in the answer for these.
The Astaro is setup as regular VPN endpoint, authentication is made against an inside RADIUS server which is doing the authentication against an Active Directory Domain server checking to see if the user is part of VPN users, if the account is enabled and if the user is having the "Allow Access" enabled in the Dial-In properties tab.

Questions:
1. How can you tell who is connected and how many VPN connection you have at the moment in Astaro?
2. How can you 'clip' (disconnect) someone from the VPN?
3. How can you send a message to someone connected to your VPN? Via net send -- is not working?
4. Resolving by name a computer inside, once the VPN connection is established, is not working.
In "PPTP Roadwarrior Network Access" --> "Optional Parameters" I have setup the DNS and WINS servers to be applied to the VPN client.
5. Trying to "grep" the "PPTP Roadwarrior Access Logs" about a username in the current log (appending one) did not yield any results, although the user was there. It is working in all other logs. Does anyone know why?

Thank you

LordHex.
   


This thread was automatically locked due to age.
  • I can answer your first question only.  We have our RoadWarrior VPN users on a different range of IP's than our local network (same subnet though) and I can use a tool such as "Advanced IP Scanner" from Famatech from my XP workstation to scan for any active IP's in the VPN range and it will also gather info such as the host name and netbios name so I can see who is currently logged in remotely.  Hope this helps some.
  • re: Disconnecting users

    I use a "temporary" filter rules to kill connections. I'm sure there's a faster, better and less painful way.

    I always thought that Connection Tracking should have options for sorting, grouping and otherwise organizing connections and for killing connections. But the only option I seem to have is "::not applicable". Perhaps I should read the manual :-)

    Farid
  • Hi,

    I have the problem to on monitoring vpn on astaro, i have
    2 WIN2003 VPN and is easy to monitoring, disconnecting and filtering. I still wonder they is a way to monitoring in astaro seen Linux is powerful. It someone have the solution pls share with me. Try to migrate to linux.

    tks/raid
  • Hello,

    just some short answers

    1. In the VPN--> Connections-Section you can see who is currently connected. (not for PPTP)
    2. I created for each VPN-User a separate Connection. So i can disable / enable it for the specific user.
    3. net send is working.
    4. I dont know what about the name-resolution with PPTP, but with Certificates and the SSH-Sentinel, name-resolution is working.

    Remeber, i'm not talking about PPTP.

    Greetings
    Thomas
  • Task was to find out who is logged in by openvpn to our Sophos UTM.

    * this does not give results

    I could not find any hints in SNMP-output nor "cc get_objects" (this is
    for configuration not for monitoring).

    * this works

     

    ```

    ssh root@sophos-utm.local

    /usr/local/bin/openvpn_connections.sh

    OpenVPN CLIENT LIST
    Updated,Wed Mar 25 10:53:27 2020
    Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
    openvpn-myuser1,1.2.3.4:63969,4333648,11695199,Wed Mar 2 06:58:51 2020
    openvpn-myuser25,1.20.36.99:55371,9183690,57628351,Wed Mar 2 07:28:08 2020
    REF_AaaUse99,30.50.20.1:53100,16113267,48635679,Wed Mar 2 05:01:58 2020
    ...

    ```

     

    I am using this output to feed a webservice via a perl-script which gives me data for PRTG, my monitoring-tool. It looks like this:

    prtghelper.local/prtg-openvpn-utm

     

    ```
    {
    prtg: {
    text: "openvpn-sophos"
    result: [
    {
    value: 16,
    channel: "openvpn-connections-number"
    },
    {
    channel: "openvpn-myuser1"
    value: 1,
    },
    ...
    ],
    }
    ```