如何使用socks5代理 apt-get

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
chengyifeng
帖子: 13
注册时间: 2006-06-22 9:33

如何使用socks5代理 apt-get

#1

帖子 chengyifeng » 2006-06-29 8:21

如何使用socks5代理 apt-get?
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

#2

帖子 roylez » 2006-06-29 11:25

替你google了一下。

5.18 I need to use a SOCKS proxy, but the command line client does not seem to support this

Unfortunately the current command line client does not support a SOCKS proxy server, but you could try using 囗囗囗囗囗囗, which will provide SOCKS proxy support for programs that don't have that natively. (It does that by means of a pre-load library that intercepts the network system calls to connect() and 'redirects' it to a socks proxy etc.).
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
chengyifeng
帖子: 13
注册时间: 2006-06-22 9:33

#3

帖子 chengyifeng » 2006-06-29 14:03

谢谢了
我前面几天一直在网上google,现在问题转化成如何用tsocks
据我所知,debian里自带tsocks,可是ubuntu里没有,那还是要去下载安装
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#4

帖子 oneleaf » 2006-06-29 14:08

$ apt-cache search 囗囗囗囗囗囗
囗囗囗 - anonymizing overlay network for TCP
囗囗囗囗囗囗 - transparent network access through a SOCKS 4 or 5 proxy

有啊。
chengyifeng
帖子: 13
注册时间: 2006-06-22 9:33

#5

帖子 chengyifeng » 2006-06-29 14:14

4楼的,感谢你的回复
可是我现在就是无法使用apt-get 所以装tor和tsocks,还是要去网上找
proxychains这个软件包,不知谁用过没有?这个程序允许你通过HTTP(HTTPS)和SOCKS(4/5)代理服务器使用SSH, TELNET, VNC, FTP和其他Internet程序。
不知道那个高手解释一下
chengyifeng
帖子: 13
注册时间: 2006-06-22 9:33

#6

帖子 chengyifeng » 2006-06-29 22:15

版主,各位高手,哪个懂得指点指点撒!
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

#7

帖子 roylez » 2006-06-30 18:09

源里面有proxychains。安装之后先man proxychains,看看它是干什么的;然后顺着里面说的,vi /etc/proxychains.conf,差不多怎么用都写清楚了。
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
ynzheng
帖子: 74
注册时间: 2005-12-28 14:12
联系:

#8

帖子 ynzheng » 2006-07-13 17:37

这样的代理怎么设置啊?

export http_proxy=http://username@eyou.com:password@192.168.0.1:8080
回复