outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Unable to connect to your Outline Server

Open AmooMoradi opened this issue 5 years ago • 18 comments

Hello I can't connect to the my server This is my error: Your Outline Server was installed correctly, but we are not able to connect to it. Most likely this is because your server's firewall rules are blocking incoming connections. Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535.

After install: Make sure to open the following ports on your firewall, router or cloud provider:

  • Management port 19922, for TCP
  • Access key port 61318, for TCP and UDP

I opened these ports like this: ufw allow 19922/tcp ufw allow 61318

and all of ports on my router is open

When i connect to another vpn and press "Retry" button, that will ok and show me my keys and everything and i will share my invite link to my phone and use that, but when i connect to that i can't use wifi

AmooMoradi avatar Feb 06 '21 15:02 AmooMoradi

I have the same problem.....

ghermez avatar Feb 07 '21 11:02 ghermez

Can i set port except 61318? i have to server and i want run outline on them and one of them is ok but second server have problem and gave me error i want connect to them with one modem and first server is ok because that use 61318 and for second server can't connect, because 61318 is taked by first server

sorry for bad Egnlish

AmooMoradi avatar Feb 07 '21 14:02 AmooMoradi

Let me ask better: How can i change this port?! Access key port 61318, for TCP and UDP I want switch with another port

AmooMoradi avatar Feb 07 '21 15:02 AmooMoradi

Have you tried going into the server and instead of using SSH to open it, run it as a gcloud instance, then rerun the installation sudo-code, should bypass the firewall in the SSH shell I believe is super user integrated. Worked for me, lmk. (Can someone link me to a Mac repository, I see there's yarn work going on.)

On Sun, Feb 7, 2021, 7:42 AM AmooMoradi [email protected] wrote:

Let me ask better: How can i change this port?! Access key port 61318, for TCP and UDP I want switch with another port

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Jigsaw-Code/outline-server/issues/811#issuecomment-774695556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARC4OFYI6GGADGHWG3LHCILS52YF5ANCNFSM4XGL622A .

classicvalues avatar Feb 07 '21 16:02 classicvalues

Have you tried going into the server and instead of using SSH to open it, run it as a gcloud instance, then rerun the installation sudo-code, should bypass the firewall in the SSH shell I believe is super user integrated. Worked for me, lmk. (Can someone link me to a Mac repository, I see there's yarn work going on.) … On Sun, Feb 7, 2021, 7:42 AM AmooMoradi @.***> wrote: Let me ask better: How can i change this port?! Access key port 61318, for TCP and UDP I want switch with another port — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#811 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARC4OFYI6GGADGHWG3LHCILS52YF5ANCNFSM4XGL622A .

in my case, I can connect to the server through ssh by using PuTTY without any problem. but I can not connect to the server through Outline Manager directly! when I use another VPN it works very well! So the server configuration is OK!

ghermez avatar Feb 08 '21 06:02 ghermez

Try This https://www.rootusers.com/how-to-open-a-port-in-centos-7-with-firewalld/ my problem solved.

omidkh007 avatar Oct 22 '22 13:10 omidkh007

I tried to setup outline-server to oracle vps I use ubuntu 20.04 minimal ufw is disabled I opened ports requested after installation in VCN console for TCP and UDP protocols But unfortunately it doesn't work, I have the same trouble " Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535." No any errors in shadowbox container logs

I tried to install "tailscale" VPS server and it works without any additional netwrok configuration So it isn't about firewall inside OS or VCN setup

I like outline and it would be great if this issue is solved

UPD: Clearing iptables was helpful

sudo iptables -F sudo iptables -A INPUT -i lo -j ACCEPT sudo iptables -A OUTPUT -o lo -j ACCEPT sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

pepelax avatar Dec 01 '22 10:12 pepelax

when I use carrier network it's working good... when I connected my wifi, it only work on facebook, other website not working..why??

MasuCN avatar Mar 03 '23 00:03 MasuCN

Not worked for me.

edica02 avatar Mar 31 '23 02:03 edica02

sudo iptables -F
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A OUTPUT -o lo -j ACCEPT
sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

it's work for me!

dengshenkk avatar Jun 21 '23 09:06 dengshenkk

I tried to setup outline-server to oracle vps I use ubuntu 20.04 minimal ufw is disabled I opened ports requested after installation in VCN console for TCP and UDP protocols But unfortunately it doesn't work, I have the same trouble " Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535." No any errors in shadowbox container logs

I tried to install "tailscale" VPS server and it works without any additional netwrok configuration So it isn't about firewall inside OS or VCN setup

I like outline and it would be great if this issue is solved

UPD: Clearing iptables was helpful

sudo iptables -F sudo iptables -A INPUT -i lo -j ACCEPT sudo iptables -A OUTPUT -o lo -j ACCEPT sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Helped me too. Thank you bro!

sergeyWh1te avatar Oct 30 '23 09:10 sergeyWh1te

Hi Guys, I facing same problem with outline manager but sure that not come from firewall issue. I create new outline server, disable ufw, then add successfull to outline manager. Then I do migrate the key from another server by copy /opt/outline/persisted-state to this new server, then reboot. Someday ago it (new migrated svr) worked well normally , but suddenly yesterday when I open outline manager, it say unable connect, i remove it from outline manager and re-add but it say message as above"Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535".

I checked open port by telnet command and it still open, beside, client till can connected VPN well.

Anyone got same problem ?

manhte2 avatar Nov 16 '23 04:11 manhte2

@manhte2 Thank you for reaching out! Please submit feedback from the Outline Manager app or contact us at support.getoutline.org and include the GitHub issue number so that we can better support your needs.

maddyhof avatar Nov 20 '23 17:11 maddyhof

sudo iptables -F && sudo iptables -X && sudo iptables -t nat -F && sudo iptables -t nat -X && sudo iptables -t mangle -F && sudo iptables -t mangle -X && sudo iptables -P INPUT ACCEPT && sudo iptables -P FORWARD ACCEPT && sudo iptables -P OUTPUT ACCEPT

helped me on custom vps

ser-art avatar Aug 04 '24 14:08 ser-art

Nothing helped here for my custom server. But I did command that outline manager offered, containers restarted and new ApiUrl data was given. But when I login, I found out that none connection was lost. Solution: Just do command on server that outline manager offer

IvTema avatar Sep 03 '24 21:09 IvTema

Faced the same problem, fought for two days. The solution is to ignore the error “> Checking host firewall ......................”. BLOCKED”. If you have the same error as me

“Your Outline Server was installed correctly, but we are not able to connect to it. Most likely this is because your server's firewall rules are blocking incoming connections. Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535.” just do that: The most important thing is to install and configure Outline Manager from ANOTHER NETWORK! I have Outline installed on my Raspberry Pi, and I configured it via Outline Manager installed on my laptop and connected to the network via 3G internet. After that everything worked.

Translated with DeepL.com (free version)

AlexBlack48 avatar Sep 30 '24 18:09 AlexBlack48

I tried to setup outline-server to oracle vps I use ubuntu 20.04 minimal ufw is disabled I opened ports requested after installation in VCN console for TCP and UDP protocols But unfortunately it doesn't work, I have the same trouble " Please review them and make sure to allow incoming TCP connections on ports ranging from 1024 to 65535." No any errors in shadowbox container logs

I tried to install "tailscale" VPS server and it works without any additional netwrok configuration So it isn't about firewall inside OS or VCN setup

I like outline and it would be great if this issue is solved

UPD: Clearing iptables was helpful

sudo iptables -F sudo iptables -A INPUT -i lo -j ACCEPT sudo iptables -A OUTPUT -o lo -j ACCEPT sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

I use Oracle's AM1 Ampere instance. I rebooted the instance after allowing the ports, and it worked just fine. However, I am facing another problem: I can create keys and everything, but when I try to connect from any of my devices, I get the following message:

ERR_PROXY_SERVER_UNREACHABLE failed to dial to the server Caused by: ERR_INTERNAL_ERROR dial tcp

: i/o timeout

Does anyone know how to deal with that?

A1extar avatar Jan 23 '25 22:01 A1extar

This helped me https://codex.so/outline-vpn

SimarglV avatar Jul 18 '25 09:07 SimarglV