Re-Route network calls to multiple domains through SSH tunnel in windows 10
  
 
     
     
             
                 
 
 
         up vote 
         1 
         down vote 
 
         favorite 
         
 
 
 
 
 
             
 
             
 
     
 
 I have the following situation: There are some hosts that are only accessible through an ssh tunnel. Lets say its    https://example.com  https://other.com   I can establish the SSH tunnel and bind the 443 ports needed for the connection to local ports:   ssh -L 1443:example.com:443 -L 2443:other.com:443 -A -l username myproxy.com    This works fine so far - when I call https://localhost:1443 , I can open example.com, if I call https://localhost:2443 , I can call other.com   The problem: There are some apps that are not aware of this and still try to connect via the regular hostname and port.   Adding the following lines to my hosts  file, I can get a step closer to the final solution:   127.0.0.1 example.com  127.0.0.1 other.com    This enables me to call https://example.com:1443  and https://other.com:...
