YASGP is, as it's name implies, a proxy written in pure go
This project is meant to be a personal use, simple proxy to help deal with that sweet sweet, awesome and easily configurable WSL2 LAN networking via a simple approach: ignoring it entirely.
Build from source
git clone [email protected]:fautore/yasgp.git
cd yasgp
go build ....or via go install directly
go install github.com/fautore/yasgp@latest- Write your configuration file to
config.yasgp, currently yasgp looks forconfig.yasgpin the project root, aka your cwd. - Run
- Enjoy your proxy!
yasgp uses a configuration file separated in lines, each line is a rule; below an example:
http://10.9.8.24:3118 to http://localhost:3118
http://10.9.8.24:3018 to http://localhost:3018
http://10.9.8.24:3020 to http://localhost:3020
Currently, it is required to restart yasgp when you update your configuration.
Contributions welcome! Feel free to open an Issue or a PR.