Jump to content
Not connected, Your IP: 18.221.187.121
khuffmanjr

How to gracefully stop eddie-cli or eddie-ui --cli in ubuntu 20.04

Recommended Posts

Greetings!

Long time airvpn user here.  In the past, I used an older eddie-cli on CentOS 7 and when I SIGTERM'd it the netlock would deactivate.  Today, I'm trying to setup a new Ubuntu 20.04 machine with eddie-ui or eddie-cli but when I SIGTERM it I can't do anything outside of my LAN.  And SIGINT hangs and fails.  How am I supposed to gracefully stop eddie on Ubuntu 20.04 from terminal, please?  Eddie is being called from a script by a systemd service file, FYI.

Thanks!
Ken

Share this post


Link to post
17 hours ago, khuffmanjr said:

Eddie is being called from a script by a systemd service file, FYI.


systemctl stop?

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post
7 hours ago, OpenSourcerer said:

systemctl stop?
Sure, I tried that.  But netlock stays active.  Can't access anything outside of my network when I 'stop', 'SIGTERM' or 'kill' it.  Is there no graceful shutdown to the application?

Share this post


Link to post

SIGTERM and SIGINT are supposed to be the graceful kill signals, as far as I remember. Weird that they don't work here… maybe open a ticket to professional support? :)


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

My approach is to use NFT rules (no IP tables) with Eddie.  That way Eddie will setup a full nft ruleset with network lock running.  The NFT rules of course provide the firewall and tunnel security.  But if it hangs, or if you just want to be able to "get out" I have the option to flush the entire NFT ruleset in a second or two.
Terminal: sudo nft flush ruleset  and then its completely flushed.  Now the machine is wide open and you are instantly on your ISP's IP, so don't forget that if you go that route.  Just a simple idea if you need it.

Share this post


Link to post
@khuffmanjr

Hello!

Can you send us both output of Eddie when you stop it by pressing CTRL-C in the shell and when you stop it will kill -SIGTERM ... ?

Kind regards
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...