Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected but doesn't work. #1630

Open
HedgehogNSK opened this issue Dec 29, 2024 · 1 comment
Open

Connected but doesn't work. #1630

HedgehogNSK opened this issue Dec 29, 2024 · 1 comment
Labels
server/advanced install Issues with manual/advanced server installation server

Comments

@HedgehogNSK
Copy link

HedgehogNSK commented Dec 29, 2024

I've rented a VDS server in Finland specifically for VPN. It's running on Ubuntu 22.04.5 LTS.
The list of setup commands:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install node
nvm use node
sudo apt install docker.io
sudo apt install ufw
sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-apps/master/server_manager/install_scripts/install_server.sh)"
sudo ufw allow api_port/tcp #api_port is a result of the previous command
sudo ufw allow keys_port/tcp #same as api-port
sudo ufw allow keys_port/udp
sudo ufw allow 8080/tcp
sudo ufw allow 22/tcp
sudo ufw reload

I was able to connect via the server app and create keys. I've added the keys to both the PC and Android clients. The connection on the PC is established and stable. Unfortunately, the browser pages still don’t load. The connection on Android drops every 2 seconds.

Docker's log doesn't provide much insight:

Dec 29 05:33:21.956 INF Prometheus metrics available at http://127.0.0.1:9092/metrics.
Dec 29 05:33:21.956 INF Using IP-Country database. db=/var/lib/libmaxminddb/ip-country.mmdb
Dec 29 05:33:21.957 INF Using IP-ASN database. db=/var/lib/libmaxminddb/ip-asn.mmdb
Dec 29 05:33:21.957 INF TCP service started. address=[::]:48621
Dec 29 05:33:21.958 INF UDP service started. address=[::]:48621
Dec 29 05:33:21.958 INF Loaded config. access_keys=2 listeners=2

The log stays the same, regardless of whether I'm connecting to the server or not.
Meanwhile, I have an access key to a server in Sweden, and it works for both PC and Android clients. Unfortunatelly, I don't have access the settings of those server.
Could you please help me to find a way to fix the connection to my VDS.

@sbruens
Copy link
Contributor

sbruens commented Jan 7, 2025

Double check if the VDS has any port settings you may need to configure in addition to the OS layer.

You can also try running the server with environment variable LOG_LEVEL=debug set so it prints more debug logs in Docker.

@sbruens sbruens added server/advanced install Issues with manual/advanced server installation server labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server/advanced install Issues with manual/advanced server installation server
Projects
None yet
Development

No branches or pull requests

2 participants