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
It is a good practice to use some CDN in the middle of local/remote machines. CDN with WebSocket support can hide remote machine's real IP from public.
627
622
623
+
- Backward proxy
624
+
625
+
Sometimes, the proxy server hides behind an NAT router and doesn't have a public ip. the client side has a public ip "client_ip". Backward proxy feature enables the server to connect backward to client and wait for proxy requests.
626
+
627
+
Run **pproxy** client as follows:
628
+
629
+
.. code:: rst
630
+
631
+
$ pproxy -l http://:8080 -r http+in://:8081 -v
632
+
633
+
Run **pproxy** server as follows:
634
+
635
+
.. code:: rst
636
+
637
+
$ pproxy -l http+in://client_ip:8081
638
+
639
+
Server connects to client_ip:8081 and waits for client proxy requests. The protocol http specified is just an example. It can be any protocol and cipher **pproxy** supports. The scheme **in** should exist in URI to inform **pproxy** that it is a backward proxy.
0 commit comments