1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RV016 - Tracking VPN Data Transfer by User

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by innovate, Feb 1, 2007.

  1. innovate

    innovate Guest

    I am looking for a way to track on a monthly basis the amount of data each VPN user has transferred. I have tried using Syslog but to no avail. If you have a solution, I will donate $25 to Linksys info to support the site.

    Thanks for your help.
     
  2. net_eng

    net_eng Network Guru Member

    You could try using SNMP and a program like wallwatcher or other SNMP capable software and see if it tracks IP info in terms of bandwidth.

    I know it can display traffic for the entire interface but I havent tried capturing individual IP's. You will have to find the right SNMP OID if it exists.

    SNMPWALK on linux will tell you all that are available. If I have some time I will see what the RV042 has and if this is possible via SNMP.
     
  3. net_eng

    net_eng Network Guru Member

    Ok so on the RV042 I found the ipsec interface OID's which turns out to be

    1.3.6.1.2.1.2.2.1.10.6 for received
    1.3.6.1.2.1.2.2.1.16.6 for sent

    For owners of RV042 here are the OID's for the interfaces(I know this doesnt help you with the RV016) hopefully I dont have the received and sent backwards :)

    LAN

    1.3.6.1.2.1.2.2.1.10.3 for received
    1.3.6.1.2.1.2.2.1.16.3 for sent

    WAN

    1.3.6.1.2.1.2.2.1.10.4 for received
    1.3.6.1.2.1.2.2.1.16.4 for sent

    IPsec
    1.3.6.1.2.1.2.2.1.10.6 for received
    1.3.6.1.2.1.2.2.1.16.6 for sent


    I used snmpwalk on linux to find it. On the RV016 it will probably be different, using snmpwalk or similar you can get the list then find the interface(I can provide the syntax if necessary)

    Now I dont have a vpn though I set this up for my WAN and it collects all the IP's in or out and displays how many bytes etc.

    Using wallwatcher, you can add these to the bandwidth section and it will collect info including IP's and log them hopefully for the VPN.

    Caution: You have to enable SNMP on the router and ensure you change the public and private strings and also ensure it is only accessible(via firewall rules) by whatever system you want to be able to receive or probe the info. SNMP gives out too much info and you dont want anyone being able to probe the router.

    Hope this helps.
     

Share This Page