Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

Support Outline Client on Kali Linux #1722

Open belalmuhamedd opened 9 months ago

belalmuhamedd commented 9 months ago

the pc working on kali linux Version (6.5.0-kali1-amd64) and its not working on it and this is log :

connecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
tun2socks started
connected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
reconnected to 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from 85c7e6da-0c25-4ed5-b746-ed54b2cdd0ae

but its working on my laptop with old version of kali ( 6.1.0) when i update linux on my laptop and try to connect its keep reconnecting like my pc
i tried to run the old kernel thats worked before but have no luck i think there are something with network manager or system configs have been updated with the new versions of kali thats are not compatible with the current version of outline

itdimk commented 9 months ago

Got exactly same problem on Arch Linux (6.4.15-x64v3-xanmod1 kernel), Outline Version 1.11.0 (468189). Tried to clear configs and reinstall, no luck. Because of constant reconnect websites with 50% chance fail to load (ERR_NETWORK_CHANGED)

Gtk-Message: 00:53:50.890: Failed to load module "colorreload-gtk-module"
Gtk-Message: 00:53:50.890: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 00:53:50.891: Failed to load module "appmenu-gtk-module"
Outline is starting
loading web app from file:///tmp/.mount_outlinhn9GSG/resources/app.asar/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/dimk/.config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/dimk/.config/Outline/connection_store'
}
Checking for update
Update for version 1.11.0 is not available (latest version: 1.11.0, downgrade is disallowed).
connecting to 2218e664-23ef-486f-be00-8b40c64ae998...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
tun2socks started
connected to 2218e664-23ef-486f-be00-8b40c64ae998
reconnecting to 2218e664-23ef-486f-be00-8b40c64ae998
reconnected to 2218e664-23ef-486f-be00-8b40c64ae998
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 2218e664-23ef-486f-be00-8b40c64ae998
reconnected to 2218e664-23ef-486f-be00-8b40c64ae998
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 2218e664-23ef-486f-be00-8b40c64ae998
reconnected to 2218e664-23ef-486f-be00-8b40c64ae998
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to 2218e664-23ef-486f-be00-8b40c64ae998
reconnected to 2218e664-23ef-486f-be00-8b40c64ae998
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
LiquidViper commented 9 months ago

yes , same problem here . LMAO , I reinstall my Linux OS coz I think that the problem is only occur in me .

nortaptaptap commented 9 months ago

I have this problem too (6.5.3-1-MANJARO)

dimparf commented 9 months ago

The same problem on 6.1.53-1-MANJARO

r7vme commented 9 months ago

Seems like similar to https://github.com/Jigsaw-Code/outline-client/issues/1709

belalmuhamedd commented 9 months ago

@r7vme yes , but they didnt solve it because he was arch

jyyi1 commented 8 months ago

Thanks for reaching out! Tagging this as a feature request since we do not currently support Kali Linux.

brandons209 commented 8 months ago

These linked issues (both #1709 which links to #1685) aren't feature requests to support OSes but to fix a bug with the client. I understand that it seems some updated packages in the affected OSes may be causing an issue, but it's still a bug not a feature request, which seems really odd to mark it as such. I don't think the intended solution is just to use another client as it seems to be the only fix currently for us experiencing this issue.

I am experiencing this issue on the latest Arch kernel as well (using EndeavorOS flavor) with the same issue everyone else is mentioning in these related issues.

jyyi1 commented 8 months ago

Hi @brandons209 , I apologize for the inconvenience, but due to limited staffing, we are only officially supporting the Ubuntu distribution of Linux at this time. We have developed a command line interface for Outline VPN here: https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli. Please feel free to try it on a different Linux distribution and contribute to the project if you encounter any issues. Thanks.

alamar commented 6 months ago

I have the same issue on Ubuntu

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"

starting routing daemon
tun2socks started
connected to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
reconnecting to b80cfa8d-957c-4c0d-8028-c78da9636718
reconnected to b80cfa8d-957c-4c0d-8028-c78da9636718
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from b80cfa8d-957c-4c0d-8028-c78da9636718
sergey-somkov commented 6 months ago

The same issue on Ubuntu 23.10. Outline-Client.AppImage 1.12.1

righthippie commented 5 months ago

The same issue on Fedora 39 Outline-Client.AppImage v1.12.1 (471860) Linux kernel 6.6.9-200.fc39.x86_64

hapugov commented 4 months ago

Same Ubuntu 23.10 Outline Version 1.12.1 (471860)

konstantin83 commented 3 months ago

Same Ubuntu 23.10 Outline Version 1.12.1

Outline VPN is somehow working anyway. But those iternal reconnections every couple of seconds looks like a problem to me. Any chances for this bug to be fixed in nearest future?

Also, is there a way to integrate this connection to a Gnome's Network settings like Wireguard do? So that we could click on the top right menu item and with second click could activate/deactivate the VPN connection.

righthippie commented 3 months ago

There is a temporary solution to use Outline CLI VPN client. It work fine on Linux without reconnections. See https://github.com/Jigsaw-Code/outline-sdk/tree/main/x/examples/outline-cli

Still no fix for Outline GUI VPN client for new 6.x.x kernel. It reconnect every couple of seconds.

Also no Outline VPN plugin for GNOME NetworkManager.

jyyi1 commented 3 months ago

Thank you all for reporting this. Let's use this issue to track the support of Kali Linux.

Since the issue seems to be happening in Ubuntu as well, I created a new issue tracking the reconnecting problem: https://github.com/Jigsaw-Code/outline-apps/issues/1959 . Please feel free to upvote the comment there if you've met similar reconnecting issues.

jyyi1 commented 3 months ago

Hi @konstantin83 , thanks for reporting this.

Adding VPN integration to Gnome settings is a great idea. Please create a separate issue for tracking.

We have a lot on our plate right now. In the meantime, Outline CLI should work. The code is a lot simpler than the GUI app as well, please feel free to contribute code if you're up for it!

qisantanu commented 4 weeks ago
Outline is starting
loading web app from file:///tmp/.mount_Outlinxu6w8c/resources/app.asar/client/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/in-lt-89/.config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/in-lt-89/.config/Outline/connection_store'
}
Checking for update
Update for version 1.13.1 is not available (latest version: 1.13.1, downgrade is disallowed).
connecting to 4d763fcb-527a-4683-b492-4cc288553c11...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
tun2socks started
[EXIT - tun2socks]: Exited with code 0
tun2socks exited with no errors
disconnected from 4d763fcb-527a-4683-b492-4cc288553c11

suddenly outline is not working, it is getting disconnected after 2-3 mins, and every time it is asking for sudo PWD. Previously, there was no issue.

jyyi1 commented 4 weeks ago

@qisantanu , please try Outline CLI, as Kali is not officially supported by Outline Client.

@pybotoff , did you try Outline CLI? And what was the error?

li11amy commented 3 weeks ago

I have the same problem en ubuntu 24.04