jjunghyup / GoSimpleForwardingServer

A proxy server that performs connection forwarding with the IP: PORT initially entered by the client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoSimpleForwardingServer

A proxy server that performs connection forwarding with the IP: PORT initially entered by the client

Step

  1. run server
  2. client tcp connect to server
  3. send ip:port after connection
  4. server will forward it to ip:port

Usage(Windows)

> set GOOS=Windows
> go Build
> GoSimpleForwardingServer.exe -sp <recive port> -target <ip:port>
ex) GoSimpleForwardingServer.exe -sp 8080 -target 127.0.0.1:5555

Usage(Linux)

> GOOS=linux
> go Build
> chmod 755 GoSimpleForwardingServer
> ./GoSimpleForwardingServer -sp <recive port> -target <ip:port>
ex) ./GoSimpleForwardingServer -sp 8080 -target 127.0.0.1:5555

About

A proxy server that performs connection forwarding with the IP: PORT initially entered by the client


Languages

Language:Go 100.0%