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

Set up Outline server in private network #46

Open
Xilonz opened this issue Jan 15, 2020 · 3 comments
Open

Set up Outline server in private network #46

Xilonz opened this issue Jan 15, 2020 · 3 comments

Comments

@Xilonz
Copy link

Xilonz commented Jan 15, 2020

Use case; I want to run a local server that's not\barely exposed to the public internet. Via shadowsocks I would be able to connect to the local network of the shadowsocks server. Currently this is completely blocked via

func IsPrivateAddress(ip net.IP) bool {

@fortuna
Copy link

fortuna commented Oct 27, 2020

A workaround is to run your own server and use SetIpValidator on both the UDP and TCP services:

SetTargetIPValidator(targetIPValidator onet.TargetIPValidator)

@fortuna
Copy link

fortuna commented Jan 27, 2021

We will probably not change the Outline product anytime soon to support this because of the added complexity and risks, but we could possibly add an option to the outline-ss-server config to specify network ranges to allow.

We would have to:

  • Define the config format
  • Create a new IP validator that is built from the config
  • Refactor code to be able to inject the validator.
  • Update on config updates

@Vadims06
Copy link

Hi @fortuna,
is there any updates on this? Could you please clarify who it is possible to define it in the config format or update on config updates?

@maddyhof maddyhof changed the title Whitelist private addresses Set up Outline server in private network Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants