Featured image of post Start with Naiveproxy

Start with Naiveproxy

Make a fortune quietly


You need to install wget , and git previously

For Ubuntu / Debian : apt install -y wget git

For CentOS / Rocky : yum install -y wget git

  • Install Docker
wget -qO- | bash
  • Install Docker-Compose
    ( Default install linux-x86_64 binary, for other platform please visit Release Page )
mkdir -p /usr/libexec/docker/cli-plugins
wget -O /usr/libexec/docker/cli-plugins/docker-compose ""
chmod +x /usr/libexec/docker/cli-plugins/docker-compose
  • Clone this Repository
mkdir -p /etc/naiveproxy /var/www/html /var/log/caddy
git clone /etc/naiveproxy
chmod +x /etc/naiveproxy/*.sh
cp -r /etc/naiveproxy/naiveproxy.service /etc/systemd/system
  • Modify the configuration with Caddyfile
cat > /etc/naiveproxy/Caddyfile <<EOF
  admin off
  log {
      output file /var/log/caddy/access.log
      level INFO
  servers :443 {
      protocol {

:80 {
  redir https://{host}{uri} permanent

:443,  #Modify to your domain
tls [email protected]  #Modify to your email address
route {
  forward_proxy {
      basic_auth user_name your_password  #Modify to your user name and password
      probe_resistance  #Modify to a secret domain, like password
  file_server {
      root /var/www/html
  • Change System UDP-Buffer-Size
sysctl -w net.core.rmem_max=2500000
  • Add HTML pages

You need to add some HTML pages under /var/www/html for camouflage purpose, I suggest you to find some templates by yourself from Internet.

But If you don’t wanna do that, only one line command will tackle this issue (Do Not Recommend)

git clone -b gh-pages /var/www/html
  • Start Naiveproxy (Start with Linux)
systemctl start naiveproxy
systemctl enable naiveproxy


  • Update Naiveproxy
systemctl restart naiveproxy
  • Stop Naiveproxy
systemctl stop naiveproxy

Windows Users

AKA, Qv2ray has been deprected due to its internal issues, so we need to use another client sooner or later

Directly use Naiveproxy Core is advisable, collaborate with V2rayN or Clash For Windows, you can proxy for all windows traffic

  • Clone this Repository
git clone Naiveproxy
  • Go to Naiveproxy\windows directory, and modify config.json
    "listen": "socks://",
    "proxy": "https://user_name:[email protected]"

Modify user_name to your user name, your_password to your password, to your domain.

Do Not delete : or @

  • Config V2rayN or Clash For Windows

For instance, set a socks5 protocol with V2rayN listen on

Or add this configuration to Clash For Windows to listen on

# Start from section "proxies"

  - name: "naiveproxy"
    type: socks5
    port: 10800
    udp: true
  • Start with Windows

Double Click start.bat and press YES when asking for Root Permission

  • Stop with Windows

Double Click stop.bat and press YES when asking for Root Permission

Powered by Bolucat
Built with Hugo
Theme Stack designed by Jimmy