1
submitted 6 months ago by stuckgum@lemmy.ml to c/selfhosted@lemmy.world

I am running wg-easy and there is a way to passport protect the GUI used for creating Wireguard connections. Is there a way to prohibit connection to be made if not a password is entered? I don’t want someone to be able to access my VPN if for example my phone would be stolen unlocked. I don’t mind if it is client side only

you are viewing a single comment's thread
view the rest of the comments
[-] Krafting@lemmy.world 1 points 6 months ago

wg-easy has this option wwhen you run the docker:

-e PASSWORD=YOUR_ADMIN_PASSWORD

which set an admin password when deploying the container.

If you didn't put a password I guess you can add one in the admin settings

from https://github.com/wg-easy/wg-easy?tab=readme-ov-file#2-run-wireguard-easy

[-] doctorzeromd@lemmy.world 1 points 6 months ago

That's for logging into the web GUI IIRC, not for authorizing a connection from wg client to wg server.

this post was submitted on 15 Apr 2024
1 points (53.8% liked)

Selfhosted

39919 readers
289 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS