Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Fork of phvr's script to run Mullvad with Wireguard on Gentoo and OpenRC, but using doas and some additional features

License

NotificationsYou must be signed in to change notification settings

elliowo/mullvad-wg-doas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple script that makes it easier to use Mullvad's VPN with WireGuard and OpenRC on Gentoo.

This is a fork ofphvr script that replaces sudo withOpenDoasto not have to re-enter your password when connecting to the server use the persist feature in OpenDoas.

gif

Prerequisites

Installation

Addelliowo-overlay to portage, sync and run.

# emerge -a mullvad-wg-doas

Usage

Configuring the servers

To pull in all available servers and their wireguard configs, do

mullvad update servers

This will prompt you for your Mullvad account number.Do this after installation.

Connecting to a server

To connect to a server, simply write

mullvad connect <server>

It it also possible to leave out server selection and connect to default

mullvad connect

Note that this needs to be set withmullvad update default, before using the above command.

Disconnecting from a server

mullvad disconnect

Updating default server

mullvad update default

This command will let you set a default server of your choosing. Use thelist command to view the current default.

Enabling/Disabling kill-switch

Enable a kill-switch

mullvad kill-switch on <server>

Disable a kill-switch

mullvad kill-switch off <server>

It is possible to choose multiple servers. To enable a kill-switch for all servers run

mullvad kill-switch <on|off> all

Listing servers

When you first update the server list you will shown the current available servers. To view the list again type

mullvad list

Status of current connection

To get more detailed information about your connection, run

mullvad status

or

mullvad verify

to verify using the am.i.mullvad.net API

Choosing start-up server

It is possible to choose a server that will auto connect on boot.

mullvad start-up <on|off> <server>

Show the currently selected startup server:

mullvad start-up show

For this to work you need the 'local' service enabled:

# rc-update add local default

Help

The help section can be accessed with

mullvad help

More information

Authors

Adi Hrustic wrote this script - phvr forked it to adapt it to OpenRC and package it for Gentoo

License

This project is licensed under the GNU General Public License v3.0 - see theLICENSE.md file for details.

About

Fork of phvr's script to run Mullvad with Wireguard on Gentoo and OpenRC, but using doas and some additional features

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell100.0%

[8]ページ先頭

©2009-2025 Movatter.jp