-
Notifications
You must be signed in to change notification settings - Fork 779
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
Access Server Lan #987
Comments
I just tried Outline Server yesterday myself and ran into this question. It is possible, but you need to make some modifications. I have not tried to understand if there is an easier way and undecided if I will, but
diff --git a/net/private_net.go b/net/private_net.go
index 3e10bf5..385c271 100644
--- a/net/private_net.go
+++ b/net/private_net.go
@@ -39,6 +39,7 @@ func init() {
// IsPrivateAddress returns whether an IP address belongs to the LAN.
func IsPrivateAddress(ip net.IP) bool {
+ return false
for _, network := range privateNetworks {
if network.Contains(ip) {
return true
# 10.132.0.0/16 is your LAN CIDR
# Where 10.111.222.0 is the outline-server IP connection route
sudo route -n add 10.132.0.0/16 10.111.222.0 |
Hi, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i want to be able to access my lan that my server is on so that i can access things like router gateway and local media servers
The text was updated successfully, but these errors were encountered: