hosts能设置ip有端口吗???
Tofloor
poster avatar
wzhy90
deepin
2012-10-11 03:43
Author
RT,ppa的速度太慢,想把ppa的地址搞个代理
goagent代理是8087端口的,
我在hosts文件内添加 ppa.launchpad.net,ip是127.0.0.1:8087
但是没效果,下载ppa的包还是直接连接的

谁知道怎么搞?我不想全局都设置代理,只想这个地址用代理
Reply Favorite View the author
All Replies
jhkwei
deepin
2012-10-11 04:00
#1
不能,那是NAT在功能
iptables 可以去设置这些东西。
Reply View the author
wzhy90
deepin
2012-10-11 05:58
#2
怎么设置呢?我百度了,好像不能这样,iptables
Reply View the author