You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,12 @@ sshgate doesn't care about the username used for the jump hop. It doesn't care a
56
56
57
57
The default policy is to block all connections. The `rules` array describes what hosts and ports to allow forwarding to. If you just want to use sshgate for a bastion without firewalling you can run it with `--ruleless`, which disables firewall rules.
58
58
59
+
A host can be any of the following:
60
+
61
+
* Hostname (e.g. `github.com`, wildcards not supported)
62
+
* IP address (e.g. `1.1.1.1`)
63
+
* CIDR range (e.g. `192.168.1.1/24`)
64
+
59
65
If no ports are specified in a rule, port 22 is allowed by default.
0 commit comments