简体   繁体   English

限制对域的Internet访问

[英]Restricting Internet access to a domain

I'm trying to achieve some sort of proxying in android 我正在尝试在android中实现某种代理

I want to route every TCP call in phone to a particulay domain, say example.com 我想将电话中的每个TCP呼叫路由到特定域,例如example.com

  • For example if the user tries to load android.com in the default web browser or any other browser like opera mini, it shout show the examle.com home page 例如,如果用户尝试在默认的网络浏览器或任何其他浏览器(如Opera mini)中加载android.com,则它会大声显示出exele.com主页
  • Also if user type exaple.com/aboutus.html he should be able to view it. 另外,如果用户键入exaple.com/aboutus.html,他应该可以查看它。
  • This Android phone will not have any Internet-required applications other than a defined web browser. 除了已定义的Web浏览器外,此Android手机将没有任何Internet所需的应用程序。
  • Phone uses public 3G or WiFi connection. 手机使用公共3G或WiFi连接。

Any Idea? 任何想法?

I think I need to start with linux IP tables, any body can suggest a good starting point 我想我需要从linux IP表开始,任何机构都可以建议一个很好的起点

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM