You are not logged in.

#1 2017-12-28 09:07:14

stoencold111
Member
Registered: 2016-07-06
Posts: 16

Make local web server accessible via a public address with openvpn?

I've been using reverse ssh tunneling to expose my local node.js. I can access it via a public address, like `http://remote-server.com:15555/index`.

This thread says you can achieve the same with openvpn.

I just got docker-openvpn running on the remote server and I can connect it on the local machine to browse the internet.

What extra steps do I need to do so that the local node.js is accessible via `https://remote-server.com/index` ?

Here's some of the settings in openvpn.conf from the remote server:

server 192.168.255.0 255.255.255.0

proto udp
# Rely on Docker to do port mapping, internally always 1194
port 1194
dev tun0

user nobody
group nogroup

### Route Configurations Below
route 192.168.254.0 255.255.255.0

### Push Configurations Below
push "block-outside-dns"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

Offline

Board footer

Powered by FluxBB