Skip to content

bitinn/snell.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Snell Management Script

Introduction

This script allows you to easily manage the installation, uninstallation, and configuration of the Snell proxy server. It provides a menu-based interface to perform these operations.

Features

  • Install Snell Proxy Server
  • Uninstall Snell Proxy Server
  • View Snell Configuration
  • Supports both AMD64 and ARM64 architectures

Prerequisites

  • A Debian-based system (e.g., Ubuntu)
  • Root or sudo access

Installation

  1. Download and Run the script:
wget https://raw.githubusercontent.com/jinqians/snell.sh/main/snell.sh -O snell.sh && chmod +x snell.sh && ./snell.sh

Usage

When you run the script, you will see the following menu:

=================author: jinqian==================
=================website: https://jinqians.com==================
=== Snell 管理工具 ===
当前状态: 已安装/未安装
1. 安装 Snell
2. 卸载 Snell
3. 查看 Snell 配置
0. 退出
======================

Options

  1. 安装 Snell:
  • Installs the Snell proxy server.
  • Generates a random port and password for Snell configuration.
  • Starts the Snell service and enables it to run at startup.
  1. 卸载 Snell
  • Stops the Snell service.
  • Disables Snell from running at startup.
  • Removes all Snell-related files and configurations.
  1. 查看 Snell 配置:
  • Displays the current Snell configuration, including the IP address, port, and password.
  1. 退出
  • Exits the script.

Example Output

After installing Snell, the script will display the configuration details:

Snell 安装成功
CN = snell, 123.456.789.012, 54321, psk = abcdefghijklmnopqrst, version = 4, reuse = true, tfo = true

About

snell V4 一键安装脚本

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%