1oidentd_masq.conf(5) File Formats Manual oidentd_masq.conf(5)
2
3
4
6 oidentd_masq.conf - oidentd IP masquerading (NAT) configuration file.
7
8
10 If you are using IP masquerading or NAT, oidentd can optionally return
11 a username for connections from other machines. Support for this is
12 enabled by calling oidentd with the -m (or --masquerade) flag and by
13 creating an /etc/oidentd_masq.conf file. This file is read from top to
14 bottom, and oidentd stops at the first matching entry it encounters.
15
16 oidentd can also forward requests for an IP masqueraded connection to
17 the machine from which the connection originates by way of the -f (or
18 --forward) option. This will only work if the host to which the connecā
19 tion is forwarded is running oidentd with the -P (--proxy) flag, or if
20 the host's ident daemon returns a valid reply regardless of the input
21 supplied by and the address of the host sending the request.
22
23 When forwarding is enabled with the -f option, oidentd forwards ident
24 queries before reading the IP masquerading configuration file. If this
25 is not desired, the -M (or --masquerade-first) option can be used.
26
27
29 <IP Address|Hostname>[/<Mask>] <Ident Response> <System Type>
30
31 The first field contains the IP address or the hostname of a machine
32 that IP masquerades through the machine on which oidentd runs. The mask
33 parameter can be either a network mask or a mask in CIDR notation. A
34 mask of 24 is equivalent to 255.255.255.0, a mask of 16 is equivalent
35 to 255.255.0.0, etc.
36
37 The second field specifies the reply that oidentd will return for
38 lookups to the host matching the IP address specified in the first
39 parameter.
40
41 The third field specifies the operating system the machine matching the
42 first parameter is running.
43
44
46 <Host>[/<Mask>] <Ident Response> <System Type>
47 192.168.1.1 someone UNIX
48 192.168.1.2 noone WINDOWS
49 192.168.1.1/32 user1 UNIX
50 192.168.1.0/24 user2 UNIX
51 192.168.0.0/16 user3 UNIX
52 somehost user4 UNIX
53 192.168.1.0/255.255.255.0 user5 UNIX
54
56 Janik Rabe <oidentd@janikrabe.com>
57 https://oidentd.janikrabe.com
58
59 Originally written by Ryan McCabe <ryan@numb.org>.
60
61
63 oidentd(8) oidentd.conf(5)
64
65
66
67version 2.3.1 2018-06-13 oidentd_masq.conf(5)