Skip to content

proxy core module for bepass, supports socks5/socks5h full UDP/TCP, IPv4, IPv6. supports socks4/a, http and https-connect proxy

License

Notifications You must be signed in to change notification settings

bepass-org/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Introduction

The proxy module simplifies connection handling and offers a generic way to work with both HTTP and SOCKS connections, making it a powerful tool for managing network traffic.

Features

The Inbound Proxy project offers the following features:

  • Full support for HTTP, SOCKS5, SOCKS5h, SOCKS4 and SOCKS4a protocols.
  • Handling of HTTP and HTTPS-connect proxy requests.
  • Full support for both IPv4 and IPv6.
  • Able to handle both TCP and UDP traffic.

Installation

go get github.com/bepass-org/proxy

Examples

Minimal

package main

import (
	"github.com/bepass-org/proxy/pkg/mixed"
)

func main() {
	proxy := mixed.NewProxy()
	_ = proxy.ListenAndServe()
}

Customized

package main

import (
  "github.com/bepass-org/proxy/pkg/mixed"
)

func main() {
  proxy := mixed.NewProxy(
    mixed.WithBindAddress("0.0.0.0:8080"),
  )
  _ = proxy.ListenAndServe()
}

There are other examples provided in the example directory

About

proxy core module for bepass, supports socks5/socks5h full UDP/TCP, IPv4, IPv6. supports socks4/a, http and https-connect proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages