mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Add ability to expose TCP connections (#123)
This commit is contained in:
@@ -151,6 +151,24 @@ return [
|
||||
*/
|
||||
'validate_auth_tokens' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| TCP Port Range
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Expose allows you to also share TCP ports, for example when sharing your
|
||||
| local SSH server with the public. This setting allows you to define the
|
||||
| port range that Expose will use to assign new ports to the users.
|
||||
|
|
||||
| Note: Do not use port ranges below 1024, as it might require root
|
||||
| privileges to assign these ports.
|
||||
|
|
||||
*/
|
||||
'tcp_port_range' => [
|
||||
'from' => 50000,
|
||||
'to' => 60000,
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maximum connection length
|
||||
@@ -232,6 +250,8 @@ return [
|
||||
'subdomain_taken' => 'The chosen subdomain :subdomain is already taken. Please choose a different subdomain.',
|
||||
|
||||
'custom_subdomain_unauthorized' => 'You are not allowed to specify custom subdomains. Please upgrade to Expose Pro.',
|
||||
|
||||
'no_free_tcp_port_available' => 'There are no free TCP ports available on this server. Please try again later.',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user