I have two servers: A and B.
Server A is my main server which hosts my website (in my country). Server B is a server in the US.
I have limit to connect to some websites via server A, so I want to create a tunnel or proxy (not sure which one is suitable) from A to B, so that, sending request from A to
blocked-site.com is proxied to
server A proxies request to B server B sends request to blocked-site.com the website answers to B B answers to A
I tried this command:
ssh -vL 1080:blocked-site.com:1080 root@server-b
Bit when I run
nslookup blocked-site.com I do not get any answers.