Ssh access to the raspberry pi; This is the command i use to establish the tunnel: Open the terminal or connect to your raspberry pi via ssh and run the following commands:
Raspberry Pi SSH Setup Tutorial Windows YouTube
To create ssh tunnel to your rpi, your rpi should set up as ssh server and you need forward ssh port from your home router to your pi.
If your network setup ok for those options, you can set up your ssh tunnel with putty.
(free ssh client) you can find a good information at link below about creating ssh tunnel to your home network. Since the laptop's port 2222 is forwarded onto the proxy # servers's port 2223, and port 2223 on the proxy is forwarded back down # to the raspberry pi, this forwards the ssh connection request down to # the raspberry pi. Pay special attention to the red, green and yellow arrows in the Ip_address is the pi’s address, routers is the gateway address, and domain_name_servers is the dns address.
Reboot the pi and let’s move on to setting up dynamic dns with a custom domain name. Setting up dynamic dns with a custom domain name This is what the raspberry pi will become. An ssh client on the computer or laptop you wish to do the tunneling (mac has a native ssh application, and for windows you can use putty.

A raspberry pi proxy server allows you to control the websites people can visit.
It can also remove trackers and other unwanted junk from those web pages. Follow these simple steps to set it up. The privoxy proxy server a web proxy sits between the computers on your network and the internet. Ssh and vnc involve opening a port on raspberry pi (vnc uses port 5900+n and ssh uses port 22).
This potentially exposes your raspberry pi. Hackers actively look for raspberry pi devices with these open ports and default passwords. This is why you must change your password when turning on vnc. Er kann auch unerwünschte elemente wie tracker und andere daten von webseiten entfernen.

Die einrichtung erfolgt in wenigen schritten.
Setup nginx as a reverse proxy. Ip_address is the pi’s address, routers is the gateway address, and domain_name_servers is the dns address. Reboot the pi and let’s move on to setting up dynamic dns with a custom domain name. Setting up dynamic dns with a custom domain name
Possibly off topic but possibly useful: We did not find results for: Check spelling or type a new query. Now i am experimenting with using a reverse proxy ssh connection to an ubuntu oracle cloud system i run success but connection erratic, initially vpn connects fine (had to change to tcp rather than udp) but after a few intentional disconnects it then fails to reconnect and i am not sure why.

The compatible string identifies this as being for bcm2835, which is the base architecture for the raspberry pi socs;
If the overlay makes use of features of a raspberry pi 4 then brcm,bcm2711 is the correct value to use, otherwise brcm,bcm2835 can be used for all raspberry pi overlays. Then comes the first (and in this case only) fragment. The official documentation for raspberry pi computers and microcontrollers raspberry pi os disables the ssh server. I've been searching all over to see if this is possible, but i have a suspicion i may be overthinking it.
Is it as simple as setting up an openvpn client on the pi, alongside setting up the ssh server? It would look as follows: I have a raspberry pi which establishes an ssh proxy to a remote server (vps) and opens a port on the pi so i can use it as a socks proxy.
