mango.m4: Reverse NAT into the main network.
[firewall] / numbers.m4
1 ### -*-sh-*-
2 ###
3 ### Useful numbers for firewall configuration
4 ###
5 ### (c) 2008 Mark Wooding
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This program is free software; you can redistribute it and/or modify
11 ### it under the terms of the GNU General Public License as published by
12 ### the Free Software Foundation; either version 2 of the License, or
13 ### (at your option) any later version.
14 ###
15 ### This program is distributed in the hope that it will be useful,
16 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ### GNU General Public License for more details.
19 ###
20 ### You should have received a copy of the GNU General Public License
21 ### along with this program; if not, write to the Free Software Foundation,
22 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24 m4_divert(24)m4_dnl
25 ###--------------------------------------------------------------------------
26 ### Magic numbers.
27
28 ## Port numbers.
29 defport ftp_data 20
30 defport ftp 21
31 defport ssh 22
32 defport smtp 25
33 defport dns 53
34 defport bootps 67
35 defport bootpc 68
36 defport tftp 69
37 defport finger 79
38 defport http 80
39 defport ident 113
40 defport netbios_ns 137
41 defport netbios_dgm 138
42 defport netbios_ssn 139
43 defport https 443
44 defport microsoft_ds 445
45 defport syslog 514 # UDP only!
46 defport lpd 515
47 defport submission 587
48 defport ipmi 623
49 defport rsync 873
50 defport imaps 993
51 defport h323 1720
52 defport squid 3128
53 defport tripe 4070
54 defport siplo 5000
55 defport siphi 5100
56 defport iodine 5353
57 defport postgresql 5432
58 defport gnutella_svc 6346
59 defport mpd 6600
60 defport irc 6667
61 defport tor_public 9001
62 defport tor_directory 9030
63 defport git 9418
64 defport i2p 16911
65 defport disorder 23599
66 defport udpkey 59274
67
68 ## Protocol numbers.
69 defproto ipv6 41
70
71 m4_divert(-1)
72 ###----- That's all, folks --------------------------------------------------