Hi,

while looking at other things i noticed OpenVPN wasnt in /etc/services.

apparently its listed/registered by IANA since 2004 (i know, not a reason), and
i have it on a debian 11 box and on a FreeBSD 12.2 server.

i see two reasons:
- making sure another service doesnt squat the port for outgoing cnx, since
  in some configs openvpn is started manually after boot
- write nicer pf rules :)

oks ?

Index: services
===================================================================
RCS file: /cvs/src/etc/services,v
retrieving revision 1.103
diff -u -r1.103 services
--- services    2 Sep 2021 10:46:22 -0000       1.103
+++ services    1 Mar 2022 10:18:08 -0000
@@ -173,6 +173,8 @@
 pop3s          995/tcp         spop3           # pop3 protocol over TLS/SSL
 socks          1080/tcp                        # Socks
 kpop           1109/tcp                        # Pop with Kerberos
+openvpn                1194/tcp                        # OpenVPN
+openvpn                1194/udp                        # OpenVPN
 ms-sql-s       1433/tcp        Microsoft-SQL-Server
 ms-sql-s       1433/udp        Microsoft-SQL-Server
 ms-sql-m       1434/tcp        Microsoft-SQL-Monitor

Reply via email to