Report this

What is the reason for this report?

how to forward my vps1 to my vps2 script

Posted on May 27, 2024

hi. i have installed a ssh panel on my vps , but bcuz my country keep filtering th ips , i need to forward my iran vps to my digital ocean vps . my ssh panel using apache and the panel will open with this link :

t2.domain.com/p

but i wanna open the panel with :

t1.domain.com/p

t1 is the domain of my iran vps , so what i need is when someone enter t1.domain.com/p iran server forward this request to digital server and open t2.domain.com/p

i did forward my ssh port with socat so my clients can connect to digital ssh throw my iran vps server easily but bcuz this panel doesn’t have any port on the domain i don’t know how to forward it .

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.