Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tuyulbot/Warp-warp-

Repository files navigation

Dokumentasi Instalasi & Konfigurasi WARP WireProxy (SOCKS5 Publik) sistem routing

1. Instalasi WARP via fscarmen script

Jalankan perintah berikut:

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh a g4m062oD-Z65gmo31-Ux49K5a6

Keterangan:

  • a → otomatis install
  • g4m062oD-Z65gmo31-Ux49K5a6 → lisensi atau ID khusus (gantikan sesuai kebutuhan)

Tunggu proses sampai selesai. Setelah instalasi, status WARP akan tampil, biasanya di akhir akan ada info Local Socks5: 127.0.0.1:40001.


2. Edit konfigurasi WireProxy

File konfigurasi ada di:

/etc/wireguard/proxy.conf

Buka file:

nano /etc/wireguard/proxy.conf

Cari bagian:

[Interface]
MTU = 1420

Ubah jadi:

[Interface]
MTU = 1400

Cari bagian:

[Peer]
# PersistentKeepalive = 25

Ubah jadi ( Hapus # ):

[Peer]
PersistentKeepalive = 25

Cari bagian:

[Socks5]
BindAddress = 127.0.0.1:40001

Ubah jadi:

[Socks5]
BindAddress = [::]:40001
Username = userku
Password = passku123

Keterangan:

  • [::] → bind ke semua interface IPv4 & IPv6 (dual-stack)
  • Tambahkan Username dan Password untuk keamanan
  • Gunakan password kuat
  • atau bisa tanpa username dan password ( Rekomendasi tmbhin autentikasi user:pass )

3. Restart layanan WireProxy

systemctl restart wireproxy

4. Buka port SOCKS5 di firewall

Jika menggunakan ufw:

ufw allow 40001/tcp

5. Verifikasi port sudah listen di publik

ss -ltnp | grep 40001

Harus muncul:

LISTEN 0      128    *:40001     *:*    users:(("wireproxy",pid=xxxx,fd=xx))

6. Tes SOCKS5 dari luar VPS

Cek IPv4 via SOCKS5

curl --socks5-user userku:passku123 --socks5-hostname 103.127.156.78:40001 -4 https://api.ipify.org?format=json

Cek IPv6 via SOCKS5

curl --socks5-user userku:passku123 --socks5-hostname 103.127.156.78:40001 -6 https://api64.ipify.org?format=json

Cek status WARP

curl --socks5-user userku:passku123 --socks5-hostname 103.127.156.78:40001 https://www.cloudflare.com/cdn-cgi/trace

Pastikan ada warp=on pada hasilnya.


7. Gunakan di server lain (contoh Xray)

Contoh outbound SOCKS5 di Xray:

{
  "protocol": "socks",
  "settings": {
    "servers": [
      {
        "address": "103.127.132.192",
        "port": 40001,
        "users": [
          {
            "user": "userku",
            "pass": "passku123"
          }
        ]
      }
    ]
  }
}

8. Monitoring koneksi SOCKS5

  • Lihat koneksi aktif:
ss -ntp sport = :40001
  • Pantau log service:
journalctl -u wireproxy -f
  • Pantau koneksi real-time:
tcpdump -i any tcp port 40001

📌 Catatan Keamanan:

  • Selalu gunakan autentikasi pada SOCKS5 publik
  • Batasi IP yang boleh akses
  • Jangan biarkan open proxy tanpa kontrol, rawan disalahgunakan
  • Bisa digunakan untuk banyak server warpnya

Author: Telegram @rizkihdyt
Coffe Me:

QRIS Donasi

About

Untuk warp server vpn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published