this post was submitted on 30 Nov 2023
4 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Here’s my current setup:

Linux machine running Ubuntu Server hosting a bunch of apps through Docker Compose. The apps are made available externally using Cloudflare Tunnels as a reverse proxy, and the cloudflared service is running alongside all other Docker Compose apps as well.

When I want to make changes to my server configuration, I usually SSH locally into the server using its private internal IP. How can I connect the server to NordVPN using the command line while still allowing me to SSH into the server with its local IP? Also, will connecting to NordVPN break Cloudflare Tunnels?

top 2 comments
sorted by: hot top controversial new old
[–] weischin@alien.top 1 points 11 months ago (1 children)

Whitelist your local network using the CLI as such -

nordvpn whitelist add subnet 192.168.0.0/16

Replace the IP with your subnet.

Cloudflare tunnels will proxy your connection so I don't think you can do both tunnels and NordVPN together.

[–] marvchew@alien.top 1 points 11 months ago

Thanks, this worked! I whitelisted my subnet and Cloudflare Tunnels still works, I guess it’s because the cloudflared service is running within my subnet as well.