I have a windows machine having IP 10.5.1.60,lets call it X. I can connect to a linux machine over SSH,having IP 10.1.32.7,lets say Y. Y uses a HTTP proxy to 10.25.0.42:3128 to connect to internet,i.e. on Y,you open browser,provide credentials and you are on internet.
Now i want to access internet from X through Y(via SSH).
This is what i have tried so far: 1.Installed putty for windows.Under the connections settings in SSH,added a dynamic port 4567 as source ,and added 10.25.0.42:3128 as destination.Opened the connection,logged into 10.1.32.7.Opened my windows firefox,added 127.0.0.1:4567 as SOCKS 5 proxy (remote dns enabled). But still no internet!!
2.Tried installing Bitvise SSH for windows.Added a rule in C2S settings for localhost:4567 to 10.25.0.42:3128.....still nothing.Tried changing it to localhost:4567 to 10.1.32.7:80,can access the apache server page on 10.1.32.7
3.Installed MiniGW on windows and typed:
ssh -N -L 8080:10.25.0.42:3128 firstname.lastname@example.org
The terminal asks for password,after providing which it freezes.
Can someone guide me how can I access internet on my PC?