This is useful for multi-home'd machines where # you want all traffic to appear outgoing from one particular interface. #Listen 192.168.0.1 # Bind: This allows you to specify which interface will be used for # outgoing connections. If this is commented out, tinyproxy will bind to all # interfaces present. Port 8787 # Listen: If you have multiple interfaces this allows you to bind to # only one. Please note # that should you choose to run on a port lower than 1024 you will need # to start tinyproxy using root. # Port: Specify the port which tinyproxy will listen on. Either the user or group name or the UID or GID # number may be used. # User/Group: This allows you to set the user and group that will be # used for tinyproxy after the initial binding to the port has been done # as the root user. For decriptions of all # parameters, see the nf(5) manual page. 这就代表通过代理只能访问域名是这些的网站。 附录-我的配置文件 # nf - tinyproxy daemon configuration file # This example nf file contains example settings # with explanations in comments. # to deny everything which is _not_ specifically allowed by the filter # file. # However, by setting this directive to "Yes" the default policy becomes # If this directive is commented out, or is set to "No" then the default # policy is to allow everything which is not specifically denied by the # filter file. # FilterDefaultDeny: Change the default policy of the filtering system. 查看日志 tailf /var/log/tinyproxy/tinyproxy.log
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |