Skip to content

About

Simple TCP load balancer in Go

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Load-Balance

Simple TCP load balancer in Go

First Step

apt install golang

Example for TCP

Upload file to server and following command

 go build balance.go
./balance --bind ":1234" --balance "1.1.1.1:443" 

You can add more servers by entering commas (,) Example

./balance --bind ":1234" --balance "1.1.1.1:443,2.2.2.2:443,3.3.3.3:443"

Where : 👇🏻

Details Description
balance.go Your File Name
1234 Balance Port
-- --
1.1.1.1 Your Other Server IP you want to balance
443 Your Other Server Port

About

Simple TCP load balancer in Go

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages