Skip to content

voldyman/GoLoadBalance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GoLoadBalance

This program was created to help me multiplex my http connections over multiple ssh socks tunnels.

         
     +-----------+                                 +-----------+
     |           |                                /|           |
     |           |--                             / +-----------+
     |           |  \-                          /
     +-----------+    \-                      /-   +-----------+
                        \-        +-------+  /    /+           |
                          \-      |       | /  /-- +-----------+
     +-----------+          \-    |       |//--
     |           |            \-  |       --       +-----------+
     |           |----------------|       |--------+           |
     |           |               /|       |--      +-----------+
     +-----------+             -/ |       |  \-
                             -/   |       |\   \-  +-----------+
                           -/     |       | \-   \-|           |
                          /       +-------+   \-   +-----------+
     +------------+     -/                      \
     |            |   -/                         \-+-----------+
     |            | -/                             \           |
     |            |/                               +-----------+
     +------------+ 
                                  
                                  
       SSH Tunnels                GoLoadBalance     Client Programs

###Usage

GoLoadBalance doesn't care about the underlying protocol, it just forwards tcp connections. Each instance needs atleast one backend to forward the incomming connections to.

$ ./balance -port 8020 -backend 'localhost:8881' -backend 'localhost:8882'

###Building

No thirdparty packages are required by GoLoadBalance, just clone the repo and run make.

$ git clone [email protected]:voldyman/GoLoadBalance.git
$ cd GoLoadBalance
$ make

###License

GoLoadBalance is released under MIT license

Author: Akshay Shekher [email protected]

About

A simple tcp load balancer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published