https://github.com/nemanjam/rathole-server
https://github.com/nemanjam/rathole-server
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nemanjam/rathole-server
- Owner: nemanjam
- License: mit
- Created: 2024-06-02T10:26:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:42:31.000Z (over 1 year ago)
- Last Synced: 2025-02-05T22:46:15.485Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rathole server
- https://nitinja.in/tech/
### Generate keys:
```bash
docker run -it --rm rapiz1/rathole --genkey
# Private Key:
#
# Public Key:
#
```
```bash
# copy `rathole.server.toml` with keys:
scp ./rathole.server.toml ubuntu@amd2:~/rathole-server/rathole.server.toml
```
### Generate base64 token
```bash
openssl rand -base64 32
```
### Create `.env` and `rathole.server.toml` files
```bash
cp .env.example .env
cp rathole.server.toml.example rathole.server.toml
```
#### Create proxy network
```bash
docker network create proxy
```
### Traefik dashboard for debugging
```bash
sudo apt install apache2-utils
htpasswd -nb admin yourpassword
# starts with admin:...
# escape $ with single \ AND QUOTES "" <------ important
# example: TRAEFIK_AUTH="admin:\$asd1\$E3lsdAo\$3Mertp50JJ4LVU.HRR0"
```