Setting Up SSH VPN on OpenWrt Using Custom Payload and Proxy

Hello everyone,

I'm currently looking to set up an SSH VPN on my OpenWrt router and wanted to ask if it's possible to use the following setup directly on OpenWrt:

SSH VPN Details:

  • SSH Server: nrqpz.globalvpn.my.id:80
  • Payload: POST / HTTP/1.1[crlf]Host: three-cust.hcaptcha.com[crlf][crlf]CF-RAY / HTTP/1.1[crlf]Host: [host][crlf]Upgrade: websocket[crlf]Connection: Keep-Alive[crlf]User-Agent: [ua][crlf]Upgrade: websocket[crlf][crlf]
  • HTTP Proxy: auth.three.co.uk:80

My Questions:

  1. Is this type of setup possible to configure on OpenWrt?

    • Specifically, can OpenWrt handle SSH VPN with custom payloads and use the proxy server in the setup?
  2. Which guide or tools would you recommend for setting this up?

    • I’ve come across methods like SSH tunneling with tools like passwall, but I’m unsure if they can handle custom payloads as shown above.
  3. Is there any video tutorial or written guide that could help me?

    • If anyone has gone through a similar process or knows of any resources, I’d greatly appreciate it.

Any advice, guidance, or links to tutorials would be extremely helpful! Thanks in advance.

might want to make your post readable/understandable ...

sure ive done it

define ^

otherwise only accept the same data, over and over again ?

there's ssh tunneling in most (all ?) ssh clients ... ?

what are you trying to achieve ?

something like this android vpn apps ssh custom, http custom which uses vpn over ssh and proxy or something like that

didnt understand srry not that good in eng

its kinda of tunneling but when i search ssh tunneling i find it like port forwarding internel services through ssh tunnels and not making router be as ssh vpn client

point to one of those apps

still don't know what you're trying to do, describe the goal, without any technical terms ...

the goal is theres unlimited internet bug on three uk roaming esim.

and to achive it you need to connect through ssh tunnel vpn android app: ssh custom whuch uses the ssh server above and its ports with username and password credentials to comnect and uses the payload and proxy it through the bugged host which is auth.three.co.uk:80

this is my goal

you mention an esim, where/how does openwrt come into the picture ?

this is the setup

(physical programmable esim (5ber, esim.me)) you can check them out

netgear m1 router (bridged) --> openwrt x86 router --> dhcp clients

ok,

in that case try redsocks, or skip the proxy all together and see if you can achieve the same thing using TTL alteration.

still don't understand where ssh vpn came from.

lemme put it in simple terms

if theres a door thats locked (mobiledata wothout subscription) and you want water (internet subscription) and theres clean drinking water leaking out of the door edges (internet loophole)

if your good boy you will ask for keys and buy them to get out to drink (buy a subscription and use internet)

but if your not good you'll just try to drink from the edges (using proxy to get internet access through the loophole)

Doesn't explain the ssh VPN though...

I can connect to the three address with netcat or telnet, so it doesn't require any kind of encryption..