Skip to main content

LambdaTest Tunnel Modifiers


LambdaTest Tunnel provides several command-line arguments that you can leverage to define LambdaTest Tunnel parameters. You can pass command-line arguments to either a ‘config’ file or an environment variable. It is recommended to use the latest version of LambdaTest tunnel binary to ensure compatibility with variables.

This document will help you understand all the modifiers/arguments used with LambdaTest Tunnel to help you test your locally hosted web pages.

FLAG (SHORT)FLAG (LONG)DESCRIPTIONTYPE
--allowHostsComma separated list of hosts to route via tunnel. Everything else will be routed via Internet.String
--bypassHostsComma separated list of hosts to bypass from tunnel. These will be routed via internet.String
--callbackURLCallback URL for tunnel status.String
-c--configPath of the config file to useString
--clientCertmTLS Client Certificate filepath.String
--clientKeymTLS Client Key filepath.String
--mTLSHostsComma separated list of mTLS hosts.String
-d--dirSpecify the Local Directory that will be server by a file server on port 33000String
--dnsComma Separated List of DNS ServersString
--egress-onlyUses proxy settings only for outbound requests.N/A
-e--envThe environment on which the LambdaTest Tunnel will run.String
-h--helpHelp for the LambdaTest TunnelN/A
--infoAPIPortExposes Tunnel Info API At The Specified PortInteger
--ingress-onlyRoutes Only Incoming Traffic Via The Proxy SpecifiedN/A
-k--keyLambdaTest Access Key.String
-l--load-balancedActivates Load Balancing for LambdaTest TunnelN/A
--logFileLocation of the LambdaTest Tunnel Log FileString
-m--mitmEnable the MITM(Man-in-the-middle) mode for LambdaTest TunnelN/A
--modeSpecifies in which mode tunnel should run [ssh,ws]. (default “ssh”)String
--ntlmTo use Microsoft NTLM (Windows NT LAN Manager) authentication for communication or transport purposes.Boolean
--pidfilePath Of Pidfile, Where Process ID will Be WrittenString
-p--portPort for LambdaTest Tunnel to activate.Integer
--proxy-hostSpecifies the Tunnel Proxy Port hostname.String
--proxy-passSpecifies the Tunnel Proxy Port password.String
--proxy-portSpecifies the port number where Tunnel proxy will activate.Integer
--proxy-userSpecifies the Tunnel Proxy Port usernameString
--pacfilePath of a PAC file.String
-s--shared-tunnelSharing Tunnel Among Team MembersN/A
--sshConnTypeSpecify type of ssh connection (over_22, over_443, over_ws).To use –sshConnType, specify ––mode ssh flag first.String
N/A--maxSSHConnectionsIncrease the SSH Connection from Tunnel Client to Tunnel Server. Maximum allow is 30N/A
-n--tunnelNameSpecifies the custom LambdaTest Tunnel name to be used.String
-u--userLambdaTest Username.String
--use-private-ipSets remote address to an internal IP of client machine.Boolean
-v--verboseShould Every Proxy Request Be Logged To StdoutN/A
--versionDisplays the installed version for LambdaTest TunnelN/A

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo