https://github.com/fautore/yasgp
yasgp - Yet Another Silly Go Proxy
https://github.com/fautore/yasgp
Last synced: about 1 year ago
JSON representation
yasgp - Yet Another Silly Go Proxy
- Host: GitHub
- URL: https://github.com/fautore/yasgp
- Owner: fautore
- Created: 2024-01-16T15:29:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T07:55:31.000Z (over 1 year ago)
- Last Synced: 2025-03-03T08:32:49.303Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# YASGP - Yet Another Silly Go Proxy
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.
# Installation
Build from source
```shell
git clone git@github.com:fautore/yasgp.git
cd yasgp
go build .
```
...or via `go install` directly
```shell
go install github.com/fautore/yasgp@latest
```
# Usage
1. Write your configuration file to `config.yasgp`, currently yasgp looks for `config.yasgp` in the project root, aka your cwd.
2. Run
3. Enjoy your proxy!
# Configuration
yasgp uses a configuration file separated in lines, each line is a rule; below an example:
```yasgp
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.
# Contribution
Contributions welcome! Feel free to open an Issue or a PR.