• Step 1:

    • Get the wireguard conf for your machine
    • If u don't get it then it won't work
    • Example conf looks like this
    [Interface]
    Address = 10.0.0.2/32
    PrivateKey = <contents-of-client-privatekey>
    DNS = 1.1.1.1
    
    [Peer]
    PublicKey = <contents-of-server-publickey>
    Endpoint = <server-public-ip>:51820
    AllowedIPs = 0.0.0.0/0, ::/0

    Step 2:

    Leave netclient

    sudo /etc/netclient/netclient leave -n netmaker-vpn

    Step 3:

    Get rid of already installed netclient

    sudo /etc/netclient/netclient uninstall

    Step 4:

    • You can skip this step if u hv wireguard already installed
    sudo apt update
    sudo apt install wireguard

    Step 5:

    Add wireguard conf in the following path

    sudo nano /etc/wireguard/wg0.conf
    • Save and exit

    Step 6:

    Start the wireguard vpn connection by running

    sudo wg-quick up wg0

    Stop Vpn Connection

    To stop the vpn connection which u don't want to.

    sudo wg-quick down wg0
    Edited by Khalid Hamid
  • Thanks @khalid , this way all users would have removed old configuration of netclient and can easily update to new version

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment