✦ Uzun dönem indirimi: tüm sunucu paketlerinde bir yıl peşin ödemede en fazla %50 indirim.Fiyatları gör →
MercureHosting

Rehber · 10 dk okuma

Run your own WireGuard VPN on a VPS

Turn a small offshore VPS into a private VPN exit in about ten minutes, with no third-party VPN provider in the middle.

Bu sayfa şu anda yalnızca İngilizce olarak mevcuttur.

Why self-host?

A commercial VPN asks you to trust its no-logs claim. Your own WireGuard server means the only logs are the ones you choose to keep. A VPS S plan is plenty for a few devices, and you pick the exit country.

1. Install WireGuard

On a fresh Ubuntu 24.04 or Debian 12 VPS, install WireGuard and generate the server's key pair.

apt update && apt install -y wireguard qrencode
umask 077
wg genkey | tee /etc/wireguard/server.key | wg pubkey > /etc/wireguard/server.pub
wg genkey | tee /etc/wireguard/client.key | wg pubkey > /etc/wireguard/client.pub

2. Enable forwarding

Let the kernel route packets for your clients. Find your public interface name with `ip route | grep default` (often eth0 or ens3).

echo 'net.ipv4.ip_forward=1' > /etc/sysctl.d/99-wireguard.conf
sysctl --system

3. Write the server config

Create /etc/wireguard/wg0.conf. Replace eth0 if your interface is named differently, and paste in the keys you generated.

[Interface]
Address = 10.66.0.1/24
ListenPort = 51820
PrivateKey = <contents of server.key>
PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

[Peer]
PublicKey = <contents of client.pub>
AllowedIPs = 10.66.0.2/32

4. Open the port and start it

If you use ufw, also set DEFAULT_FORWARD_POLICY="ACCEPT" in /etc/default/ufw so forwarded traffic isn't dropped.

ufw allow 51820/udp
systemctl enable --now wg-quick@wg0
wg show

5. Configure your device

Create a client config, then scan it as a QR code with the WireGuard mobile app or import the file on desktop.

[Interface]
PrivateKey = <contents of client.key>
Address = 10.66.0.2/32
DNS = 9.9.9.9

[Peer]
PublicKey = <contents of server.pub>
Endpoint = <your VPS IP>:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25

# then: qrencode -t ansiutf8 < client.conf

Keep it private

WireGuard doesn't log connections by default. Keep it that way: don't add verbose logging, and set journald to a short retention period.

The AUP still applies to traffic leaving the server. A personal VPN is fine. An open proxy for strangers is a different, and worse, idea.

Uygulamaya geçin

Rehberlerin çoğu için VPS S paketi yeterlidir.

VPS paketlerini gör

Her sayfada

Açıkça offshore VPS

Offshore VPS, seçtiğiniz bir ülkede bulunan, bir e-posta veya Telegram kullanıcı adıyla sipariş edilen ve kripto ile ödenen bir KVM sunucudur. Ülke, makineye uygulanan yasadır. Başka yerlerden gelen şikâyetler otomatik kaldırma anlamına gelmez ve Kabul Edilebilir Kullanım Politikası yedi konumun hepsinde geçerlidir.

Kripto ile faturalama

BTC, ETH, USDT, USDC, LTC, DOGE, TRX, SOL, BNB, XRP, BCH ile ödeyin. Fiyatlar USD cinsindendir. Cüzdandan bakiye yükleyin, ardından bu bakiyeyle sipariş verin. Kart yok, banka hesabı yok. Bu adrese gönderin, ardından ekibin onayını bekleyin.

Yedi yargı bölgesi

İzlanda, Panama, Moldova, Romanya, İsviçre, Hollanda, Rusya. Ülkeyi sipariş sırasında seçersiniz ve bir şikâyet o ülkenin yasasına göre değerlendirilir. Konum sayfaları, uzun bir dönem ödemeden önce artıları ve eksileri açıkça anlatır.

Gerçek bir listeyle gizlilik

VPS'inizin gönderdiği veya aldığı trafiği kaydetmeyiz, diskin içeriğini saklamayız. Faturalama kayıtları vardır: bir iletişim yöntemi, sipariş, ödeme referansı, IP ve güç durumu. Gizlilik politikası listenin tamamıdır.

Bildirimlerde dürüst yaklaşım

Bir ABD DMCA bildirimi otomatik kaldırma anlamına gelmez. Şikâyetler, VPS'in bulunduğu ülkenin yasasına göre incelenir. O ülkenin geçerli mahkeme kararlarına uyulur. O yasaya göre telif hakkı ihlali, Kabul Edilebilir Kullanım Politikası'na aykırı olmaya devam eder.

KVM, root ve VNC

Her VPS KVM'dir; tam root ve ağ katmanı çökerse VNC konsolu sunar. Bir şablon kurun veya kendi ISO'nuzu yükleyin. Önünüzde bir panelin durduğu bir konteyner değildir.

VPS'in kendisinde de: ~3.500 MB/s sınıfında NVMe, adil kullanımlı sınırsız port, 3 aylık −%25, 6 aylık −%35 ve yıllık −%50 ve tipik bir KYC'li sağlayıcıyla karşılaştırma. Ölçülmüş bir çalışma süresi yüzdesi yayımlamıyoruz ve dönem indirimlerine ek bir kupon yoktur.