-
Notifications
You must be signed in to change notification settings - Fork 189
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
Listen on specific interface or IP address #41
Comments
Hi @FreedomPrevails, currently the server will listen on the any address (0.0.0.0), meaning it will listen on all available interfaces. The server will listen on all ports specified in the config file. What is your use case to listen on a particular IP/interface? |
I guess we could provide a flag for that. We haven't done it because it wasn't a need for Outline. This is where we would set the address: Lines 77 to 82 in 264ddf9
You can fork our main as a workaround |
Hi there, I was wondering whether or not there was a plan to implement this feature. My main use case is that only the 443 TCP port seems to work with my access key, however, I have other applications (a website through an nginx reverse proxy) utilizing the port 443. I thought i'd be able to just get another IP address, and then run nginx on one, and Outline on the other, however that doesn't seem to be possible as Outline seems to be attempting to listen to 0.0.0.0, so it always errors if any other app is already listening on that port, even if it's only listening to a specific IP. |
I believe we can implemented in the config with something like: keys:
- id: user-0
ip: 1.2.3.4
port: 9000
interface: eth0
cipher: chacha20-ietf-poly1305
secret: Secret0 |
Closing as duplicate of #19 |
Hey guys,
How can I configure the server to listen on a specific interface or IP address ?
The text was updated successfully, but these errors were encountered: