Ok, the problem is simple, you are in China for example and you have a really bad connection from your hotel to your Windows Server or your home computer via a rdesktop connection.
Luckily you have a proxy server somewhere (for example a squid), but rdesktop has NO settings for a proxy server, and it ignores the proxy settings in Control Panel….
Luckily someone pointed me to a nice program with which you can configure a proxy for a program which does not even support a proxy, meet Proxy Firewall, direct download link here .
Breaking News
So you need to add a static route next to the default route? Well it’s not documented, and it’s not so easy to find, but here it is:
# MS routes: adds extras to supplement routers option
option ms-classless-static-routes code 249 = array of integer 8;
# RFC3442 routes: overrides routers option
option rfc3442-classless-static-routes code 121 = array of integer 8;
option routers 172.22.0.1;
option ms-classless-static-routes 24, 172, 22, 99, 172, 22, 0, 1 ;
option rfc3442-classless-static-routes 24, 172, 22, 99, 172, 22, 0, 1,
0, 172, 22, 0, 1 ;
More info here .