Commit 0d3c37af authored by nanahira's avatar nanahira

readme

parent 4a43d7ec
Pipeline #1154 passed with stages
in 4 minutes and 33 seconds
# Docker Ssh Tun # Docker Ssh Tun
SSH L3 tunnel in Docker SSH L3 tunnel in Docker
\ No newline at end of file
## Environment Variables
```
ENV SSH_HOST "root@1.1.1.1"
ENV SSH_PORT 22
ENV SSH_KEY_FILE /data/ssh/id_rsa
ENV LOCAL_TUN_ID 1
ENV LOCAL_TUN_ADDRESS 10.0.0.1/24
ENV LOCAL_TUN_TABLE none
ENV LOCAL_TUN_TABLE_2 none
ENV LOCAL_TUN_PREF 300
ENV LOCAL_TUN_POST_SCRIPT "echo 'local success'"
ENV REMOTE_TUN_ID 2
ENV REMOTE_TUN_ADDRESS 10.0.0.2/24
ENV REMOTE_TUN_TABLE none
ENV REMOTE_TUN_TABLE_2 none
ENV REMOTE_TUN_PREF 300
ENV REMOTE_TUN_POST_SCRIPT "echo 'remote success'"
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment