tsocks
http://tsocks.sourceforge.net/
sudo nano /etc/tsocks.conf
local = 192.168.0.0/255.255.255.0 # directly access 192.168.0.*
local = 10.0.0.0/255.0.0.0 # directly access 10.*
# server IP
server = 192.168.0.1
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity
server_port = 1080
then
$ tsocks cmd &
-------------------------
proxychains
http://proxychains.sourceforge.net/
sudo nano /etc/proxychains.conf
then
$ proxychains cmd &
没有评论:
发表评论