Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
hosts能设置ip有端口吗???
Experiences and Insight
4799
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
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Wifi problem.
Bugs I found / Future request!
Popular Events
More
goagent代理是8087端口的,
我在hosts文件内添加 ppa.launchpad.net,ip是127.0.0.1:8087
但是没效果,下载ppa的包还是直接连接的
谁知道怎么搞?我不想全局都设置代理,只想这个地址用代理