RELAYD.CONF

2009-05-13 14:13:21来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


http://www.openbsd.org/cgi-bin/man.cgi?query=relayd.conf&sektion=5
RELAYD.CONF(5)    OpenBSD Programmer's Manual  RELAYD.CONF(5)
NAME
     relayd.conf - relay daemon configuration file
DESCRIPTION
     relayd.conf is the configuration file for the relay daemon, relayd(8).
SECTIONS
     relayd.conf is divided into six main sections:
     Macros
    User-defined variables may be defined and used later, simplifying
    the configuration file.
     Global Configuration
    Global settings for relayd(8).
     Tables
    Table definitions describe a list of hosts, in a similar fashion to
    pf(4) tables.  They are used for relay and redirection target se-
    lection with the described options and health checking on the host
    they contain.
     Redirections
    Redirections are translated to pf(4) rdr rules for stateful for-
    warding to a target host from a health-checked table on layer 3.
     Relays
    Relays allow application layer load balancing, SSL acceleration,
    and general purpose TCP proxying on layer 7.
     Protocols
    Protocols are predefined protocol handlers and settings for relays.
     Within the sections, a host address can be specified by IPv4 address,
     IPv6 address, or DNS hostname.  A port can be specified by number or
     name.  The port name to number mappings are found in the file
     /etc/services; see services(5) for details.
     Comments can be put anywhere in the file using a hash mark (`#'), and ex-
     tend to the end of the current line.
     Additional configuration files can be included with the include keyword,
     for example:
    include "/etc/relayd.conf.local"
MACROS
     Macros can be defined that will later be expanded in context.  Macro
     names must start with a letter, and may contain letters, digits, and un-
     derscores.  Macro names may not be reserved words (for example, table,
     relay, or timeout).  Macros are not expanded inside quotes.
     For example:
    www1="10.0.0.1"
    www2="10.0.0.2"
    table  {
     $www1
     $www2

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:httpd.conf

下一篇:freebsd 精华文章