Compare commits
2 Commits
7851d6bb12
...
2713df2804
Author | SHA1 | Date | |
---|---|---|---|
2713df2804 | |||
8d703167fb |
|
@ -29,7 +29,7 @@ This deployment runs in a cluster with [Authelia](https://github.com/authelia/au
|
||||||
A tunnel can be opened using the following command:
|
A tunnel can be opened using the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
ssh <username>@<host> [-p <ssh port>] -t -R <local port>:localhost:<local port>
|
ssh <username>@<host> [-p <ssh port>] -tq -R <local port>:localhost:<local port>
|
||||||
```
|
```
|
||||||
|
|
||||||
This will open a new tunnel with a randomly generated name, you can specify a name for the tunnel by instead using `-R <name>:<local port>:localhost:<local port>`.
|
This will open a new tunnel with a randomly generated name, you can specify a name for the tunnel by instead using `-R <name>:<local port>:localhost:<local port>`.
|
||||||
|
@ -44,10 +44,11 @@ To make connecting slightly easier I recommend adding the following to `~/.ssh/c
|
||||||
|
|
||||||
```
|
```
|
||||||
Host tunnel
|
Host tunnel
|
||||||
HostName <host>
|
HostName <host>
|
||||||
Port <ssh port>
|
Port <ssh port>
|
||||||
User <username>
|
User <username>
|
||||||
RequestTTY yes
|
RequestTTY yes
|
||||||
|
LogLevel QUIET
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now connect with `ssh tunnel -R <local port>:localhost:<local port>`.
|
You can now connect with `ssh tunnel -R <local port>:localhost:<local port>`.
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: authelia.huizinga.dev/v1
|
||||||
kind: ConfigMap
|
kind: AccessControlRule
|
||||||
metadata:
|
metadata:
|
||||||
name: authelia-acl
|
name: tunnel-dev
|
||||||
annotations:
|
spec:
|
||||||
config.huizinga.dev/fragment: authelia-acl
|
domain: "*.tunnel.huizinga.dev"
|
||||||
data:
|
policy: one_factor
|
||||||
rules: |
|
|
||||||
- domain: "*.tunnel.huizinga.dev"
|
|
||||||
policy: one_factor
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user