Provision cloud hosts as exit-nodes for inlets with a single command.
Completed:
- DigitalOcean support
- Scaleway support
-
inletsctl deletecommand
Pending:
- Add CLI flags to support Packet.com
Inlets is listed on the Cloud Native Landscape as a Service Proxy
- inlets - open-source L7 HTTP tunnel and reverse proxy
- inlets-pro - L4 TCP load-balancer
- inlets-operator - deep integration for inlets in Kubernetes, expose Service type LoadBalancer
- inletsctl - CLI tool to provision exit-nodes for use with inlets or inlets-pro
curl -sLSf https://raw.githubusercontent.com/inlets/inletsctl/master/get.sh | sudo shSee notes for inlets-operator
Examples on how to run inletsctl to create an exit node.
Pre-reqs:
- You will need inlets on your client
Workflow:
-
After running
inletsctl create, the IP address of your exit-node will be returned along with a sampleinlets clientcommand, for instance:Inlets OSS exit-node summary: IP: 209.97.131.180 Auth-token: qFyFzKYQvFSgtl7TM76p5SwWpmHaQGMT405HajiMzIYmwYVgJt1lvAMXfV4S3KlS Command: export UPSTREAM=http://127.0.0.1:8000 inlets client --remote "ws://209.97.131.180:8080" \ --token "qFyFzKYQvFSgtl7TM76p5SwWpmHaQGMT405HajiMzIYmwYVgJt1lvAMXfV4S3KlS" \ --upstream $UPSTREAM
-
You can delete your exit node using the
idgiven by your cloud providerinletsctl delete --access-token-file ~/Downloads/do-access-token --id 164857028
inletsctl create --access-token-file $HOME/Downloads/do-access-token \
--region="nyc1"Let's say we want to forward TCP connections to the IP 192.168.0.26 within our client's network, using inlets-pro, we'd run this using the --remote-tcp flag.
inletsctl create digitalocean --access-token-file ~/Downloads/do-access-token \
--remote-tcp 192.168.0.26# Obtain from your Scaleway dashboard:
export TOKEN=""
export SECRET_KEY=""
export ORG_ID=""
inletsctl create --provider scaleway \
--access-token $TOKEN
--secret-key $SECRET_KEY --organisation-id $ORG_IDThe region is hard-coded to France / Paris 1.
Add a provisioner by sending a PR to the inlets-operator's provision package, once released, you can vendor the package here and add any flags that are required.
Note: only clouds that support cloud-init can be added
MIT