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

How To Kill PPTP VPN Session

I have a situation where some of my clients never disconect from their VPN Connection.

How do I teminate the sessions.

V2.028

Thanks


This thread was automatically locked due to age.
Parents
  • paulba2k,

    there is no possibility to disconnect single connections
    within WebAdmin. In your situation I would setup
    a cronjob to restart the pptp daemon at a specific
    time , for example every day 5 past 6  [;)] 

    Could look like 

    code:
    5/6 * * * * root /etc/rc.d/pptp restart 2> /dev/null   

    Add this line to /etc/crontab and to /etc/crontab.pptp.
    Important is the dot in the second file - it has
    to be crontabDOTsomething. (Don't forget to end the
    line with a carriage return).

    If the middleware restarts it would merge crontab-static
    and your DOT-file to crontab!

    Hope that was understandable?????

    read you
    o|iver
Reply
  • paulba2k,

    there is no possibility to disconnect single connections
    within WebAdmin. In your situation I would setup
    a cronjob to restart the pptp daemon at a specific
    time , for example every day 5 past 6  [;)] 

    Could look like 

    code:
    5/6 * * * * root /etc/rc.d/pptp restart 2> /dev/null   

    Add this line to /etc/crontab and to /etc/crontab.pptp.
    Important is the dot in the second file - it has
    to be crontabDOTsomething. (Don't forget to end the
    line with a carriage return).

    If the middleware restarts it would merge crontab-static
    and your DOT-file to crontab!

    Hope that was understandable?????

    read you
    o|iver
Children
No Data