mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 17:41:28 +03:00
Updated Set up http proxy server (markdown)
@@ -47,7 +47,35 @@ sudo service tinyproxy restart
|
|||||||
# Verify if it works
|
# Verify if it works
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -x http://<proxy-server-ip>:8888 --proxy-user myuser:mypassword -L https://www.yahoo.com
|
curl -x http://<proxy-server-ip>:8888 --proxy-user myuser:mypassword -L http://www.yahoo.com
|
||||||
|
```
|
||||||
|
|
||||||
|
e.g. If you do not add `Allow 0.0.0.0/0` in above config file, you will something as below.
|
||||||
|
|
||||||
|
```
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>403 Access denied</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>Access denied</h1>
|
||||||
|
|
||||||
|
<p>The administrator of this proxy has not configured it to service requests from your host.</p>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<p><em>Generated by <a href="https://tinyproxy.github.io/">tinyproxy</a> version 1.11.1.</em></p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
```
|
```
|
||||||
|
|
||||||
# Configure it on RustDesk
|
# Configure it on RustDesk
|
||||||
|
|||||||
Reference in New Issue
Block a user