Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
hosts能设置ip有端口吗???
Experiences and Insight
4637
views ·
2
replies ·
To
floor
Go
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
Like 0
Favorite
View the author
All Replies
jhkwei
deepin
2012-10-11 04:00
#1
不能,那是NAT在功能
iptables 可以去设置这些东西。
Reply
Like 0
View the author
wzhy90
deepin
2012-10-11 05:58
#2
怎么设置呢?我百度了,好像不能这样,iptables
Reply
Like 0
View the author
Please
sign
in first
New Thread
Rankings
7 days
30 days
90 days
1
xclimbing
124 posts
2
聪明蛋
59 posts
3
柠萌~
54 posts
4
燕子大王来也!
53 posts
5
新手来啦~
53 posts
6
okk~
53 posts
Popular Events
More
goagent代理是8087端口的,
我在hosts文件内添加 ppa.launchpad.net,ip是127.0.0.1:8087
但是没效果,下载ppa的包还是直接连接的
谁知道怎么搞?我不想全局都设置代理,只想这个地址用代理