socks routing

this is the main topology :

Code:
VPS Server   <-- socksify through ssh --< FreeBSD BOX  >> LAN

so , how could i route the socksify internet from FreeBSD Box to LAN ?

(ipnat - squid is installed in the freebsd box)
 
You want to access LAN from the VPS server? Then your ssh socks tunnel is the wrong way around.
 
thanks for reply , yes it is aragon , is it possible ? if yes can you tel me how can i reach that ?
 
$ ssh -D<IP address>:8080 user@vpshost

That will make the socks proxy listen on <IP address>. Other clients can connect to it.
 
sorry for delayed reply ,let me check that .. your method is what im talk about . thank you anyway
 
Do you have some specific application which had used socks proxy? If not then easier to use ssh tunneling feature and then setup routing properly. Please read ssh manual for -w switch and related configuration options.
 
Back
Top