-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adding info about url scheme missing (#735)
from: inconshreveable/ngrok#694 --------- Signed-off-by: Russ Savage <[email protected]>
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Additional Information | ||
|
||
If you are seeing an error such as: `ERROR: Invalid configuration property value for 'http_proxy': URL scheme must be 'http' or 'https'`, this means that you have a value set for the environment variable `http_proxy` or `http_proxy_env` and that it does not include the scheme in he value. If you are trying to use a proxy with ngrok, try updating the value of the env variable to include the proper scheme. If you are not trying to use ngrok with a proxy, then you will need to unset those env values before starting ngrok. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: OpenVPN | ||
--- | ||
|
||
# Using ngrok with OpenVPN Connect | ||
|
||
A community user has created a detailed guide for configuring [Tunneling an OpenVPN server out from behind CGNAT](https://forums.openvpn.net/viewtopic.php?p=116476#p116476). | ||
|
||
There are a lot more details in the linked post, but the summary of how to do it with ngrok is to open a TCP tunnel to port 443, and visit the resulting TCP address and port in your browser to download the `.ovpn` file needed by OpenVPN Connect. | ||
|
||
```bash | ||
ngrok tcp 443 | ||
``` | ||
|
||
From there, you will need to use a text editor to manually edit the downloaded `.opvn` file to change the port from 443 to the random TCP address port provided by ngrok. Then follow the standard steps to import the profile to your OpenVPN Connect software and you should be able to connect to your VPN as normal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters