1OIDENTD_MASQ.CONF(5) oidentd User Manual OIDENTD_MASQ.CONF(5)
2
3
4
6 oidentd_masq.conf - oidentd NAT configuration file
7
9 If NAT support is enabled with the --masquerade option, oidentd reads
10 the /etc/oidentd_masq.conf file to determine ident responses to queries
11 intended for other machines. It is also possible to forward queries to
12 ident servers on the hosts connecting through the machine oidentd runs
13 on. For more information on forwarding, please see the --forward option
14 in oidentd(8).
15
16 The NAT configuration file contains one rule per line. Lines are read
17 from top to bottom, and only the first matching rule is used. Lines
18 starting with a number sign ("#") are ignored.
19
21 Rules must have the following form:
22
23 host[/mask] response system-type
24
25 The host field specifies the hostname or IP address of the host that
26 owns the connection for which an ident query was received. This host
27 must be connecting through the machine oidentd runs on. The host may be
28 specified as either an IP address or a hostname.
29
30 If a network mask is specified using the mask field, the rule applies
31 to all hosts in the given subnetwork. Network masks may be specified in
32 dot notation (e.g., "255.255.192.0") or in CIDR notation (e.g., "18").
33
34 The response field specifies the response to be sent when receiving a
35 query for the specified host or subnetwork.
36
37 The system-type field specifies the operating system to send alongside
38 the ident response. See the --other option in oidentd(8) for more
39 information.
40
42 # host[/mask] response system-type
43 10.0.0.1 user1 UNIX
44 server.internal user2 UNIX-BSD
45 10.0.0.0/24 user3 UNIX
46 10.0.0.0/255.255.0.0 user4 UNKNOWN
47
48 Note that the order of the rules is significant in this example. Due to
49 lines being read from top to bottom, more specific rules must precede
50 more general ones. For example, the rule for "10.0.0.1" would not match
51 any connections if it were preceded by the more general "10.0.0.0/24".
52
54 Janik Rabe <info@janikrabe.com>
55 https://janikrabe.com/projects/oidentd/
56
57 Originally written by Ryan McCabe.
58
60 Please report any bugs to Janik Rabe <info@janikrabe.com>.
61
63 oidentd(8) oidentd.conf(5)
64
65
66
67oidentd 3.0.0 OIDENTD_MASQ.CONF(5)