tonyboy
01-16-2007, 06:12 PM
Hi everyone,
I'm trying to set-up an SSH tunnel that will allow me to view websites and access my mailboxes at work -- services that aren't available outside the network.
It's very simple, really. I set up an SSH tunnel that dynamically forwards all connections via the built-in SOCKS proxy:
ssh -NCD 1080 username@server
I follow that up by configuring setting-up my internet connection to access the SOCKS proxy at localhost:1080.
Now, all of the connections I make to the internal work servers work fine, but access to sites such as google.com don't -- it seems the administrator of the SSH/SOCKS proxy on the remote end has disabled this kind of forwarding.
So I'd like to request that only work-related connections go through the SSH tunnel and everything else is accessed directly. The Proxy Auto-Configuration (PAC) file format is ideal for this!
I've coded-up the rules that determine which connections go through the tunnel and which others are direct, but it seems that these rules are only applied with regards to HTTP! All of the other services I use for work (IMAP/POP, SMTP, etc...) are broken because their connections aren't made through the tunnel!
So in sum, what I'd like to do is keep the SSH tunnel up and running, but only route those connections that are work-related through the tunnel (regardless of what ports they are trying to access) and keep everything else connecting directly, without regards to the tunnel.
Cheers and thanks!
- Anthony
I'm trying to set-up an SSH tunnel that will allow me to view websites and access my mailboxes at work -- services that aren't available outside the network.
It's very simple, really. I set up an SSH tunnel that dynamically forwards all connections via the built-in SOCKS proxy:
ssh -NCD 1080 username@server
I follow that up by configuring setting-up my internet connection to access the SOCKS proxy at localhost:1080.
Now, all of the connections I make to the internal work servers work fine, but access to sites such as google.com don't -- it seems the administrator of the SSH/SOCKS proxy on the remote end has disabled this kind of forwarding.
So I'd like to request that only work-related connections go through the SSH tunnel and everything else is accessed directly. The Proxy Auto-Configuration (PAC) file format is ideal for this!
I've coded-up the rules that determine which connections go through the tunnel and which others are direct, but it seems that these rules are only applied with regards to HTTP! All of the other services I use for work (IMAP/POP, SMTP, etc...) are broken because their connections aren't made through the tunnel!
So in sum, what I'd like to do is keep the SSH tunnel up and running, but only route those connections that are work-related through the tunnel (regardless of what ports they are trying to access) and keep everything else connecting directly, without regards to the tunnel.
Cheers and thanks!
- Anthony