iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.0.0/24
# apt-get install tsocks++++++++++++++Add this to /etc/tsocks.conf:server = 127.0.0.1server_type = 5server_port = 1080in a separate terminal run:ssh REMOTESOCKSPROXY -D 1080remove any proxy cmds from ~/.wgetrcrun 'tsocks wget REMOTEURL'Woohoo.
ssh -p source_port -D dynamic_destination_port auser@ahost
ssh -f -N -g -D xxxxx auser@118.98.64.90
iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.0.0/24
ReplyDelete# apt-get install tsocks
ReplyDelete++++++++++++++
Add this to /etc/tsocks.conf:
server = 127.0.0.1
server_type = 5
server_port = 1080
in a separate terminal run:
ssh REMOTESOCKSPROXY -D 1080
remove any proxy cmds from ~/.wgetrc
run 'tsocks wget REMOTEURL'
Woohoo.
ssh -p source_port -D dynamic_destination_port auser@ahost
ReplyDeletessh -f -N -g -D xxxxx auser@118.98.64.90
ReplyDelete