Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.
far4599Public archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo was forked from https://github.com/ginuerzh/gost

This repo was forked for personal use and modified for my needs to use as local proxy for tunneling trafic via remote proxy with auth. Actually I deleted all unused protocols like udp and websockes.

Only http and socks are left.

If you want to use it in your project, you may use it as follows:

    import gost "github.com/far4599/gost-minimal"

    func CreateProxy() error {
        route := gost.Route{
            ServeNodes: []string{":8080",}, // local proxy port
            ChainNodes: []string{"http://user:password@remote_proxy_ip:proxy_port",}, // remote proxy with creds
            Retries:    0,
        }
    
        rts, err := route.GenRouters()
        if err != nil {
            log.Panic(err)
        }
    
        return rts[0].Serve()
    }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址