Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump inletsctl version to 0.9.1 #115

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Bump inletsctl version to 0.9.1 #115

merged 1 commit into from
Oct 27, 2021

Conversation

alexellis
Copy link
Member

@alexellis alexellis commented Oct 27, 2021

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

Description

Bump inletsctl version to 0.9.1

How Has This Been Tested?

Tested with a build and creating a new exit-server on DO.

I connected an inlets 0.9.1 client to it and accessed the built-in fileserver and accessed it via the DO IP address.

# Create the tunnel server

./inletsctl create --access-token-file ~/token

# Run the tunnel command 

# Give a single value or comma-separated
export PORTS="8000"

# Where to route traffic from the inlets server
export UPSTREAM="localhost"

inlets-pro tcp client --url "wss://167.172.59.143:8123" \
  --token "token..." \
  --upstream $UPSTREAM \
  --ports $PORTS

# Run a local server process
mkdir /tmp/test
cd /tmp/test/
touch hi

inlets-pro fileserver -w ./ -a -p 8000

# Access it via the tunnel 

curl 167.172.59.143:8000
2021/10/27 15:36:19 Request: 167.172.59.143:8000 / [899d9fbb-ae47-42d7-b75a-f3594ddb52c8]
2021/10/27 15:36:19 Sent . (4.1 kB) [899d9fbb-ae47-42d7-b75a-f3594ddb52c8]
<pre>
<a href="hi">hi</a>
</pre> 

# Delete the tunnel

./inletsctl delete --access-token-file ~/token  --ip 167.172.59.143

How are existing users impacted? What migration steps/scripts do we need?

Fixes #114

Existing users should not be affected.

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

Tested with a build and creating a new exit-server on DO.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update inletsctl to use the newest version of inlets PRO by default
1 participant