| Crates.io | fkm-proxy |
| lib.rs | fkm-proxy |
| version | 0.2.5 |
| created_at | 2025-06-13 12:08:44.276107+00 |
| updated_at | 2025-09-20 10:48:30.84233+00 |
| description | Fkm proxy client & server |
| homepage | |
| repository | https://github.com/FKMTime/fkm-proxy |
| max_upload_size | |
| id | 1711374 |
| size | 190,156 |
Simple yet powerful proxy for http(s) traffic (can also handle websockets).
TCP proxy (all kinds of http(s) traffic - like websockets, http/2, etc.)
E2E encryption (while using own https certificate on own domain)
Tunneling is done using TLS for secure connection between proxy server and client
While doing this, proxy server won't be able to see any plain-text traffic from and to your client. All traffic will be encrypted using your own ssl on your own local webserver (fkm-proxy-client isn't using your generated cert).
CNAME record to your domain pointing to vps.filipton.space (this is my primary proxy server)--ssl-addr argument with ip:port to your webserver(https) (for example localhost:443)[!IMPORTANT] --ssl-addr isn't overwriting --addr, so you need to pass both addresses in that case
[!NOTE] If you are using https redirection (from fkm-proxy-client binary), you also need to set
--addrargument (you can set anything, it won't be used)
To run dev server use this command (with local ssl cert generation):
BIND_NONSSL=0.0.0.0:8080 BIND_SSL=0.0.0.0:8443 cargo run --bin fkm-proxy-server -- --domain testlocal.filipton.space --generate-cert
[!NOTE] *.testlocal.filipton.space is pointing to 127.0.0.1. You can also just use localhost as your domain.
To create new tunnel use your browser, and type panel url, or generate it using simple CURL:
curl -X POST http://testlocal.filipton.space:8080/create?url=test
[!IMPORTANT] Panel domain can be specified using --panel-domain argument, by default its using --domain argument value.
It will return something like this:
{"url":"test","token":"178744005062729538121086180162812072708"}
To run client (using custom proxy server) use this command:
cargo run --bin fkm-proxy-client -- --token 178744005062729538121086180162812072708 -a 127.0.0.1:5000 -p localhost:6969
[!NOTE]
Change yourTOKENto values previously generated on server.
[!IMPORTANT] You can specify Proxy ip using
-pargument (by default proxy server is running on port 6969)
While running your client, you can easily see your access url's:
Access through:
- http://test.testlocal.filipton.space:8080
- https://test.testlocal.filipton.space:8443