Skip to content

πŸš€ Lunasocks is a high-performance, next-generation SOCKS5 proxy server featuring TLS encryption, robust authentication, an extensible plugin architecture, and a user-friendly web management interface.

Notifications You must be signed in to change notification settings

sioaeko/Lunasocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fotoram io

πŸŒ™ Lunasocks: The Next-Gen SOCKS5 Proxy Server

πŸš€ Supercharge Your Network with Lunasocks! πŸš€

Lunasocks is not just another SOCKS5 proxy - it's a high-performance, feature-rich server that takes your network capabilities to the next level.

✨ Key Features

  • πŸ”’ Robust SOCKS5 protocol support with TLS encryption
  • πŸ›‘οΈ Secure authentication system
  • 🧩 Extensible plugin architecture
  • πŸ•ΉοΈ User-friendly web management interface

πŸ† Why Choose Lunasocks?

  1. πŸš„ BLAZING FAST: Harnesses Go's concurrency for unparalleled speed and efficiency.

  2. πŸ› οΈ HIGHLY EXTENSIBLE: Customize and extend functionality with our powerful plugin system.

  3. πŸ” FORT KNOX SECURITY: TLS support and authentication keep your connections fortress-strong.

  4. πŸŽ›οΈ FLEXIBLE CONFIGURATION: Easily adapt to any network environment.

  5. πŸ‘¨β€πŸ’Ό EFFORTLESS MANAGEMENT: Intuitive web interface for smooth server administration.

πŸš€ Getting Started

  1. Clone: git clone https://github.com/sioaeko/lunasocks.git
  2. Install: cd lunasocks && go mod tidy
  3. Launch: go run main.go

πŸ“ Project Structure

lunasocks/
β”œβ”€β”€ cmd/
β”‚   └── lunasocks/
β”‚       └── main.go
β”œβ”€β”€ internal/
β”‚   β”œβ”€β”€ config/
β”‚   β”‚   └── config.go
β”‚   β”œβ”€β”€ crypto/
β”‚   β”‚   β”œβ”€β”€ cipher.go
β”‚   β”‚   └── key.go
β”‚   β”œβ”€β”€ logging/
β”‚   β”‚   └── logger.go
β”‚   β”œβ”€β”€ network/
β”‚   β”‚   β”œβ”€β”€ server.go
β”‚   β”‚   β”œβ”€β”€ tcp.go
β”‚   β”‚   └── udp.go
β”‚   β”œβ”€β”€ protocol/
β”‚   β”‚   β”œβ”€β”€ socks5.go
β”‚   β”‚   └── shadowsocks.go
β”‚   └── socks/
β”‚       └── socks.go
β”œβ”€β”€ pkg/
β”‚   └── utils/
β”‚       └── pool.go
β”œβ”€β”€ config.yaml
β”œβ”€β”€ go.mod
β”œβ”€β”€ go.sum
└── README.md

πŸ”§ Configuration Made Easy

Edit config.yaml to tailor Lunasocks to your needs:

  • ServerAddress: Your SOCKS5 server's home
  • Password: Keep intruders out
  • UseTLS: Encrypt like a pro
  • TLSCertFile & TLSKeyFile: Your security credentials

πŸ’‘ Extend with Plugins

Create powerful plugins with just a few lines of code!

type LoggingPlugin struct{}

func (p *LoggingPlugin) OnConnect(conn net.Conn) {
    log.Printf("New SOCKS5 connection from %s", conn.RemoteAddr())
}

func (p *LoggingPlugin) OnData(data []byte) []byte {
    log.Printf("Proxying data: %d bytes", len(data))
    return data
}

🌐 Web Management at Your Fingertips:

Access your control center at port 8080: β€’ Adjust configurations on the fly β€’ Monitor your proxy's pulse β€’ Track connection stats with ease

🀝 Join the Lunasocks Revolution:

We welcome your contributions! Send us a Pull Request and help shape the future of proxy servers.

πŸ“œ License:

Lunasocks is proudly distributed under the MIT License.


Elevate your network experience with Lunasocks - Where speed meets security, and simplicity embraces power!

About

πŸš€ Lunasocks is a high-performance, next-generation SOCKS5 proxy server featuring TLS encryption, robust authentication, an extensible plugin architecture, and a user-friendly web management interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published