Skip to content

inosuke-bilbilak/wireguard-go

 
 

Repository files navigation

Warp-Plus-Go

Warp-Plus-Go is an open-source implementation of Cloudflare's Warp, enhanced with Psiphon integration for circumventing censorship. This project aims to provide a robust and cross-platform VPN solution that can use psiphon on top of warp and warp-in-warp for changing the user virtual nat location.

Features

  • Warp Integration: Leverages Cloudflare's Warp to provide a fast and secure VPN service.
  • Psiphon Chaining: Integrates with Psiphon for censorship circumvention, allowing seamless access to the internet in restrictive environments.
  • Warp in Warp Chaining: Chaning two instances of warp together to bypass location restrictions.
  • Cross-Platform Support: Designed to work on multiple platforms, offering the same level of functionality and user experience.
  • SOCKS5 Proxy Support: Includes a SOCKS5 proxy for secure and private browsing.
  • Verbose Logging: Optional verbose logging for troubleshooting and performance monitoring.

Getting Started

Prerequisites

  • You can download prebuilt binaries or compile it with Go (You MUST use go 1.20)
  • Basic understanding of VPN and proxy configurations

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/warp-plus-go.git
    cd warp-plus-go
  2. Build the project:

    go build

Usage

Run the application with the following command:

./warp-plus-go [-v] [-b addr:port] [-c config-file-path] [-e warp-ip] [-k license-key] [-country country-code] [-cfon] [-gool]
  • -v: Enable verbose logging.
  • -b: Set the SOCKS bind address (default: 127.0.0.1:8086).
  • -c: Path to the Warp configuration file.
  • -e: Specify the Warp endpoint IP.
  • -k: Your Warp license key.
  • -gool: enable warp in warp.
  • -country: ISO 3166-1 alpha-2 country code for Psiphon.
  • -cfon: Enable Psiphon over Warp.
  • -rtt: scanner rtt threshold, default is 1000

Country Codes for Psiphon

  • Austria (AT)
  • Belgium (BE)
  • Bulgaria (BG)
  • Brazil (BR)
  • Canada (CA)
  • Switzerland (CH)
  • Czech Republic (CZ)
  • Germany (DE)
  • Denmark (DK)
  • Estonia (EE)
  • Spain (ES)
  • Finland (FI)
  • France (FR)
  • United Kingdom (GB)
  • Hungary (HU)
  • Ireland (IE)
  • India (IN)
  • Italy (IT)
  • Japan (JP)
  • Latvia (LV)
  • Netherlands (NL)
  • Norway (NO)
  • Poland (PL)
  • Romania (RO)
  • Serbia (RS)
  • Sweden (SE)
  • Singapore (SG)
  • Slovakia (SK)
  • Ukraine (UA)
  • United States (US)

Termux

bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/wireguard-go/master/termux.sh)

1

  • بعد از نصب برای اجرای مجدد فقط کافیه که warp یا usef یا ./warp را وارد کنید .
  • اگر با 1 نصب نشد و خطا گرفتید ابتدا یک بار 3 را بزنید تا Uninstall شود سپس عدد 2 رو انتخاب کنید یعنی Arm.
  • برای نمایش راهنما warp -h را وارد کنید.
  • ای پی و پورت 127.0.0.1:8086پروتکل socks
  • در روش warp به warp plus مقدار account id را وارد میکنید و با این کار هر 20 ثانیه 1 GB به اکانت شما اضافه میشود.
  • برای تغییر لوکیشن با استفاده از سایفون از طریق منو یا به صورت دستی (برای مثال به USA از دستور زیر استفاده کنید)
  • warp --cfon --country US
  • برای اسکن ای پی سالم وارپ از دستور warp --scan استفاده کنید.
  • برای ترکیب (chain) دو کانفیگ برای تغییر لوکیشن از دستور warp --gool استفاده کنید.

Contributing

Contributions to Warp-Plus-Go are welcome. Please read our contributing guidelines for more information.

Acknowledgements

  • Cloudflare Warp
  • Psiphon
  • All contributors and supporters of this project

License

Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Patched for Warp to work in iran

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.7%
  • Shell 2.3%