outline-server
outline-server copied to clipboard
Access Server Lan
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
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
- You are being blocked by the distributed
outline-ss-server
binary. There is a check for private IP address innet/private.go
. If it returns True, you will be met withERR_ADDRESS_PRIVATE
and it subsequently blocked. To work around this:
- Check out the
Jigsaw-Code/outline-ss-server
project and change the following:
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
- After rebuilding this binary, use it in place of the one in
outline-server/third_party/outline-ss-server/linux
- Don't forget you will also need to manually set your client-side routes for your LAN side:
# 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, Is there or will there be any official development about local network access for OutlineVPN?