Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Docker Ssh Tun
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Docker Ssh Tun
Commits
0d3c37af
Commit
0d3c37af
authored
Nov 05, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
4a43d7ec
Pipeline
#1154
passed with stages
in 4 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
README.md
README.md
+23
-1
No files found.
README.md
View file @
0d3c37af
# 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'"
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment