Simple C frp - Just yet another frp tool/reversed proxy, but written in C.
make
Assume that you have a https web service on a private server without public ip address, and have a public server with public ip address 203.0.113.1, then you can expose your private web service via this setup:
On the public server with public ip 203.0.113.1, run: scfrp 0.0.0.0 8080
On the private server without public ip, where the private https web service is deployed, run: scfrp 203.0.113.1 8080 127.0.0.1 443
- Use multithreading instead of io multiplexing.
- Better packet handling. A tiny invalid byte can mess up the whole state in the current solution.
This project is for learning purpose, so there may be many bugs.