- Have the following pieces of information ready:
EC2_USER
: user to login asEC2_DNS
: the public DNS of the intermediate EC2 instancePORT
: the port for the SSH tunnel. This should correspond to the port that:- will be published on the host
- tunnel entrance from within the Docker container
- tunnel exit on the EC2 instance
PEM
: path to your local pem file that is set as the auth keypair for the EC2 instance
- Run:
EC2_USER=ec2-user \ EC2_HOST=ec2-0-0-0-0.compute-1.amazonaws.com \ PORT=9000 \ PEM=/path/to/pem/file \ make run
- Point browser to
localhost:9000
-
Notifications
You must be signed in to change notification settings - Fork 0
velvetreactor/tunl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tunnel through a disposable EC2 instance in your public AWS subnet to get to a private resource without interrupting your existing infrastructure
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published