i have 1 client (Windows OS) and 4 VPS (Linux OS) .
i want create Socks v5 proxy with ssh tunnel for connect client to VPS-4 .
client -> VPS-1 -> VPS-2 -> VPS-3 -> VPS-4 -> internet
in client with CMD i connect to VPS-1 with command :
ssh -L9999:localhost:9999 root@VPS-1-IPaddress
inside VPS-1 ssh window : for connect VPS-1 to VPS-2 i use command
ssh -Dlocalhost:9999 root@VPS-2-IPaddress
and inside VPS-2 ssh window : for connect VPS-2 to VPS-3 i use command
ssh -Dlocalhost:9999 root@VPS-3-IPaddress
and inside VPS-3 ssh window : for connect VPS-3 to VPS-4 i use command
ssh -Dlocalhost:9999 root@VPS-4-IPaddress
when i set "localhost" and port "9999" in browser proxy setting and open website whatismyipaddress i see VPS-2 IP address .
i must see VPS-4 IP address . i don't know what is problem .
anyone can advise me ?