Skip to content

Commit af38a54

Browse files
Add client reverse example with authentication
1 parent e1b0eb9 commit af38a54

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
chisel client \
4+
5+
# ⬇️ Authenticates user "foo" with password "bar"
6+
--auth="foo:bar" \
7+
8+
# ⬇️ Connects to chisel relay server example.com
9+
# listening on the default ("fallback") port, 8080
10+
example.com \
11+
12+
# ⬇️ Reverse tunnels port 80 on the relay server to
13+
# port 80 on your localhost. So you can expose
14+
# that web server running on your laptop to the
15+
# internet with a VPS.
16+
R:80:localhost:80

0 commit comments

Comments
 (0)