Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makkes/l4proxy
A simple layer 4 TCP proxy and load balancer
https://github.com/makkes/l4proxy
load-balancer proxy
Last synced: 2 days ago
JSON representation
A simple layer 4 TCP proxy and load balancer
- Host: GitHub
- URL: https://github.com/makkes/l4proxy
- Owner: makkes
- Created: 2020-09-29T12:58:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T12:37:09.000Z (8 months ago)
- Last Synced: 2024-04-22T13:36:06.294Z (8 months ago)
- Topics: load-balancer, proxy
- Language: Go
- Homepage:
- Size: 299 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# L4Proxy
L4Proxy is a rudimentary layer 4 proxy, currently supporting IPv4 TCP connections.
## Quick Start
1. Download a version from the [releases page](https://github.com/makkes/l4proxy/releases) for your platform.
1. Create a configuration file. An example is provided [here](./l4proxy_example.yaml)
1. Run the proxy:
```
l4proxy -c l4proxy_example.yaml
```
1. Test it:
```
telnet localhost 1313
```
you should now see you're connected to either one of your configured backends.## How it works
l4proxy is really mostly a proof of concept for my use case of injecting traffic into my on-premise Kubernetes cluster so don't expect miracles from it. However, I appreciate any feedback so please don't hesitate filing issues or PRs.
### Features
* Supports multiple backends
* Exercises health checks for each backend
* Randomly chooses a healthy backend for each new connection