Created
February 23, 2019 11:40
-
-
Save leoluk/e1e189a00921d9212d68dfea48ba0025 to your computer and use it in GitHub Desktop.
Remarkable remote Web UI login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo ip addr add 10.11.99.1/32 dev lo | |
ssh rmk true | |
ssh -O forward -L 10.11.99.1:8080:10.11.99.1:80 rmk | |
gnome-open http://10.11.99.1 | |
sudo socat TCP-LISTEN:80,reuseaddr,fork,su=nobody TCP:10.11.99.1:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment