aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: automatic disconnect when vpn offline  (Read 1928 times)

bluescreen

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
automatic disconnect when vpn offline
« on: June 21, 2009, 12:03:17 AM »

hi all!

i use a commercial proxy and connect to it via vpn. afterwards i start amule.
but when vpn gets disconnected (happens once in a while) amule is still running, but then with my unhidden ip.

how can i close amule automatically, when my vpn-connection closes? like surveilling the vpn connection and kill the amule-process in case of no vpn?

i am a linux-newbie, but i "cooperate" with a friend, who is a linux-crack, but short of time.
could you give me a hint, how to solve this problem? so i can give him an idea.

thanks and cheers!
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: automatic disconnect when vpn offline
« Reply #1 on: June 21, 2009, 02:56:53 AM »

I think it should be easily to do with an script...but i don't know how to write the script :P

...ask your friend! Maybe he can do it in some minutes ;)
Logged