Lunasocks is not just another SOCKS5 proxy - it's a high-performance, feature-rich server that takes your network capabilities to the next level.
- π Robust SOCKS5 protocol support with TLS encryption
- π‘οΈ Secure authentication system
- 𧩠Extensible plugin architecture
- πΉοΈ User-friendly web management interface
-
π BLAZING FAST: Harnesses Go's concurrency for unparalleled speed and efficiency.
-
π οΈ HIGHLY EXTENSIBLE: Customize and extend functionality with our powerful plugin system.
-
π FORT KNOX SECURITY: TLS support and authentication keep your connections fortress-strong.
-
ποΈ FLEXIBLE CONFIGURATION: Easily adapt to any network environment.
-
π¨βπΌ EFFORTLESS MANAGEMENT: Intuitive web interface for smooth server administration.
- Clone:
git clone https://github.com/sioaeko/lunasocks.git
- Install:
cd lunasocks && go mod tidy
- Launch:
go run main.go
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
Edit config.yaml
to tailor Lunasocks to your needs:
ServerAddress
: Your SOCKS5 server's homePassword
: Keep intruders outUseTLS
: Encrypt like a proTLSCertFile
&TLSKeyFile
: Your security credentials
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
}
Access your control center at port 8080: β’ Adjust configurations on the fly β’ Monitor your proxy's pulse β’ Track connection stats with ease
We welcome your contributions! Send us a Pull Request and help shape the future of proxy servers.
Lunasocks is proudly distributed under the MIT License.
Elevate your network experience with Lunasocks - Where speed meets security, and simplicity embraces power!