No description
Find a file
2024-11-23 09:04:14 +01: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 Revert "Add host local.apphost.com" 2024-11-15 18:06:01 +01:00
.gitignore add doc for config 2021-09-27 00:26:42 +02:00
go.mod add more hosts 2021-03-21 10:18:07 +01:00
go.sum add yaml 2021-03-21 10:26:56 +01: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