Answer the question
In order to leave comments, you need to log in
Forwarding yum behind Nat, what could be the problem?
Hello!
I am behind NAT and I have a vpn tunnel to a remote machine.
There is no Internet access on the remote machine (UM). I want to install packages on UM.
Configured Squid3 on my local machine(LM)
squid3 settings
IP_eth0 = ip of my local network interface
Port is listening
sudo netstat -aptn | grep 3128
tcp 0 0 IP_eth0:3128 0.0.0.0:* LISTEN 5902/(squid-1)
Answer the question
In order to leave comments, you need to log in
ssh -vR 8080:IP_eth0:3128 [email protected]УМ
^ You are forwarding remote port 8080 to local port 3128.
In this case, on the remote machine, you must specify :http://localhost:8080
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question