Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 1.38 KB

File metadata and controls

65 lines (54 loc) · 1.38 KB

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

reMarkable Paper Pro and reMarkable Paper Pro Move

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 -c [config.yml] [-addr host:port] -cert certfile -key keyfile [-client-cert file] [-client-key file] [-version] upstream
  -addr string
        listen address (default ":443")
  -c string
        config file
  -cert string
        path to cert file
  -key string
        path to key file
  -client-cert string
        path to client cert file for mTLS (optional)
  -client-key string
        path to client key file for mTLS (optional)
  -version
        print version string and exit
  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
#client_cert: client.crt
#client_key: client.key