Outgoing IP of forwarded requests

k k isravibe at hotmail.com
Sun Jul 4 08:34:16 EST 2010


Hello Bob, thanks for the fast response and sorry for not making much sense.
 
When I said I was 'tunneling', I meant that I was executing:  "ssh -D 1234 user at 1.1.1.1" on my client (my client is local, where 1.1.1.1 is remote).
Then, I would set-up my browser proxy, as SOCKS5, 127.0.0.1:1234.
 
Upon browsing with my local browser, it connects to: 127.0.0.1:1234 -> (SOCKS5) SSH TUNNEL -> 1.1.1.1 -> SSH DAEMON -> Forwarded requests would use outgoing IP: 1.1.1.1. Which means the websites I visit sees me as: 1.1.1.1.
 
Now, the problem is, that even if I execute: "ssh -D 1234 user at 1.1.1.2" ... the outgoing IP which external websites see, is still 1.1.1.1. (Now my issue makes more sense?)
Is it possible to make a relation between the inbound IP, to the outbound IP while forwarding requests? (inbound 1.1.1.2 -> outbound 1.1.1.2)
 
---
Now not directly related... I have a squid http proxy, which listens on all the public IPs.
When I set my browser to use: 1.1.1.1 as my http proxy, external websites sees me as: 1.1.1.1. While setting 1.1.1.2 as the proxy, external websites sees me as: 1.1.1.2.
 
I achieved this behavior by the configuration:
# TAG: tcp_outgoing_address
# Allows you to map requests to different outgoing IP addresses based on the username or source address of the user making the request.
 
I failed to find anything similar under the ssh daemon configurations, such configuration exists?
 
Again, very appreciate your help,
Doori Bar 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969


More information about the openssh-unix-dev mailing list