Recent Posts

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5 ... 10
 21 
 on: March 13, 2024, 10:04:40 AM 
Started by vs2-free-users - Last post by vs2-free-users
Quick guide Debian Setting up wireguard on a server (wireguard-go)

Preface

Since you cannot currently use the standard wireguard on the vs2-free (not active in the kernel), I have taken a look at how you can still use wireguard. In my instructions I have used 2 vs2-free hosts. Of course you can also use the normal wireguard at home.

Structure

Host A vs2-free with booked and configured IPv4. OS Debian 12 (Bookworm) - 64Bit - minimal v4.
Host B vs2-cloud with booked and configured IPv4.  OS Debian 12 (Bookworm) - 64Bit - minimal v4.

wireguard-go (Version 0.0.20220316, the current one did not work because Debian does not yet have golang 1.20)
https://github.com/WireGuard/wireguard-go

Preparation

Update Debian packages and reboot if necessary.
Code: [Select]
apt update
apt upgrade
reboot


Set up host A (ends up with IP 10.0.0.1 via wireguard)

- install golang and wireguard-tools
Code: [Select]
apt install golang wireguard-tools

- Download wireguard-go and make it executable
Code: [Select]
wget -O /usr/bin/wireguard-go https://12-u.vs2-free-users.de/mirror/wireguard-go/debian12/wireguard-go
chmod +x /usr/bin/wireguard-go

- Create wireguard keys (private and public)
Code: [Select]
mkdir -p /etc/wireguard/
cd /etc/wireguard/
wg genkey | tee privatekey | wg pubkey > publickey

- create wireguard config (wg0)
Code: [Select]
vim /etc/wireguard/wg0.conf

Content
Code: [Select]
[Interface]
PrivateKey = <Previously created private key>
ListenPort = 51820

[Peer]
PublicKey = <Public key from host B>
AllowedIPs = 10.0.0.2/32
Endpoint = <Official IP Host B>:51820

- Create start script
Code: [Select]
vim /etc/wireguard/wg0-up.bash

Content
Code: [Select]
#!/bin/bash

sleep 60
wireguard-go wg0
wg setconf wg0 /etc/wireguard/wg0.conf
ip address add 10.0.0.1/24 dev wg0
ip link set wg0 up


- Make script executable
Code: [Select]
chmod +x /etc/wireguard/wg0-up.bash

- Create autostart via cron
Code: [Select]
echo '@reboot root /etc/wireguard/wg0-up.bash' >> /etc/crontab

- Reboot (after which everything is configured)
Code: [Select]
reboot

Set up host B (ends up with IP 10.0.0.2 via wireguard)

- install golang and wireguard-tools
Code: [Select]
apt install golang wireguard-tools

- Download wireguard-go and make it executable
Code: [Select]
wget -O /usr/bin/wireguard-go https://12-u.vs2-free-users.de/mirror/wireguard-go/debian12/wireguard-go
chmod +x /usr/bin/wireguard-go

- Create wireguard keys (private and public)
Code: [Select]
mkdir -p /etc/wireguard/
cd /etc/wireguard/
wg genkey | tee privatekey | wg pubkey > publickey

- create wireguard config (wg0)
Code: [Select]
vim /etc/wireguard/wg0.conf

Content
Code: [Select]
[Interface]
PrivateKey = <Previously created private key>
ListenPort = 51820

[Peer]
PublicKey = <Public key from host A>
AllowedIPs = 10.0.0.1/32
Endpoint = <Official IP Host A>:51820

- Create start script
Code: [Select]
vim /etc/wireguard/wg0-up.bash

Content
Code: [Select]
#!/bin/bash

sleep 60
wireguard-go wg0
wg setconf wg0 /etc/wireguard/wg0.conf
ip address add 10.0.0.2/24 dev wg0
ip link set wg0 up


- Make script executable
Code: [Select]
chmod +x /etc/wireguard/wg0-up.bash

- Create autostart via cron
Code: [Select]
echo '@reboot root /etc/wireguard/wg0-up.bash' >> /etc/crontab

- Reboot (after which everything is configured)
Code: [Select]
reboot

 22 
 on: February 22, 2024, 05:11:55 PM 
Started by ayun - Last post by ayun
Dear euseru Management Team,
I am writing to inquire about an issue I have encountered with my machine's disk space allocation.
According to the specifications, my machine is equipped with a 10GB hard disk. However, I have noticed that after uploading a 300MB file, the system indicates that 55% of the disk space is already in use. This seems unusual to me, as by my calculations, a 300MB file should only occupy approximately 3% of the total disk space.
Furthermore, I have observed that only 2GB of space is currently available on the machine. This discrepancy raises concerns about the accuracy of the disk size and the actual available space.
Could you please provide clarification on these matters? I would greatly appreciate any assistance you can offer in resolving these issues.
Thank you for your attention to this matter.

vServer VS2-free v2.1
Servername: srv28844.blue.kundencontroller.de
IPv6: 2a02:0180:0006:0001:0000:0000:0000:02a9

 23 
 on: February 16, 2024, 09:47:14 PM 
Started by majianyu - Last post by alestrix
Has there been some movement here? I'm trying the same thing and also get the same error message when installig docker from packages.

I also tried rootless docker but it did not work either (slightly different OCI runtime error message - unfortunatelly I deleted rootless docker already, so cannot quote the exact error here)

 24 
 on: January 25, 2024, 03:20:37 AM 
Started by wyq0313 - Last post by wyq0313
IPv6?
yes
Yes, I remember it was just turned on in November, everything worked, and I could see the traffic statistics. Later, I couldn’t connect for some reason. After a week or two, I could connect. It worked, but I couldn’t check the traffic statistics. It’s zero, so I’m asking if there’s any misunderstanding on my part?

 25 
 on: January 09, 2024, 02:51:08 PM 
Started by wyq0313 - Last post by Forum-Support2
IPv6?

 26 
 on: January 01, 2024, 04:54:13 AM 
Started by wyq0313 - Last post by wyq0313
Hello administrator: I would like to ask if the traffic statistics of the control panel are accurate, because I remember that on December 29 or December 30, I used nodes created through the virtual server. Why are the traffic statistics of the control panel all zero?

My virtual server is free:vServer VS2-free v2.1

How do I add the picture here? I click the icon to insert the picture, and this code appears: , but my picture cannot be pasted in.

 27 
 on: December 05, 2023, 02:07:02 PM 
Started by ShellyLamb - Last post by Forum-Support2
Hello,

if you use VS2free, you will be throttled after 1TB used bandwidth.
If you use Standard Paid VS2 Servers, please contact support for further check.

 28 
 on: November 30, 2023, 09:20:17 AM 
Started by ShellyLamb - Last post by ShellyLamb
I'm experiencing speed throttling issues with my account. I tried reinstalling the system, changing the bandwidth, restarting the network, and restarting the server, but my server can only run up to 12Mbps/s. How can I solve this problem?

 29 
 on: November 14, 2023, 08:20:21 PM 
Started by feimeng - Last post by Forum-Support2
There are multiple Email Providers in the world that allow spam, abuse or that are simple not able to deliver emails into mailboxes of customers. (i.e. Hotmail) So these Email Providers are on our "not allowed since not reliable" - Email list and not usable as email contact address.

The best way is to use your own Email address under your own domain name.

 30 
 on: November 09, 2023, 03:00:26 AM 
Started by feimeng - Last post by feimeng
I want to set up an alternate email address in customer data, but it’s not successful. It prompts me that the email address is not compliant. I tried using QQ Mail (China), Hotmail, but both are not compliant. May I know what email address is needed to pass? My main email is Gmail. Thank you. :)

Pages: 1 2 [3] 4 5 ... 10

Page created in 0.062 seconds with 18 queries.