No description
Find a file
2025-02-24 16:03:51 -08:00
.github/workflows make an installer 2021-02-12 00:36:22 +01:00
generate Update generate/versioninfo.go 2018-08-18 21:56:10 +08:00
scripts add dev cloud urls 2024-12-15 15:33:18 +01:00
.gitignore add doc for config 2021-09-27 00:26:42 +02:00
.mise.toml chore: go 1.24 and regen go.mod 2025-02-24 16:03:51 -08:00
go.mod chore: go 1.24 and regen go.mod 2025-02-24 16:03:51 -08:00
go.sum chore: go 1.24 and regen go.mod 2025-02-24 16:03:51 -08:00
LICENSE Create LICENSE 2021-02-12 17:30:10 +01:00
main.go fix build 2024-10-07 14:05:44 +02:00
Makefile Add back in original INSTALLER target for backwards compatability. 2024-10-05 17:24:34 -07:00
README.md Update README.md 2024-11-23 09:04:14 +01:00

rmfakecloud-proxy

Single-minded HTTPS reverse proxy

(forked from https://github.com/yi-jiayu/secure)

Installation

Manual

Download installer-rm12.sh for rm1/2 or installer-rmpro.sh on a pc.
Transfer to the tablet with scp / WinSCP
run installer on the tablet over ssh

chmod +x installer-xxx.sh
./installer-xxx.sh

Use toltec if supported

opkg install rmfakecloud-proxy

rmpro

To make it permanent, make root writable and unmount /etc first e.g.

mount -o remount,rw /
umount -R /etc
./installer-rmpro.sh

Usage

usage: rmfakecloud-proxy [-addr host:port] -cert certfile -key keyfile upstream
  -addr string
        listen address (default ":443")
  -cert string
        path to cert file
  -key string
        path to key file
  -c configfile
  upstream string
        upstream url

Example

rmfakecloud-proxy -cert cert.pem -key key.pem http://localhost:6060

Configfile

cert: proxy.crt 
key: proxy.key
upstream: https://somehost:123
#addr: :443