mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-11-14 16:37:37 +01:00
systemd/ssh{.d}.socket.d: note to self on adding additional ports
This commit is contained in:
parent
4393c30891
commit
053173b457
1
etc/systemd/system/ssh.socket.d
Symbolic link
1
etc/systemd/system/ssh.socket.d
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
sshd.socket.d
|
||||||
@ -1 +0,0 @@
|
|||||||
../socket.d/dualstack-bind.conf
|
|
||||||
16
etc/systemd/system/sshd.socket.d/10-ports.conf
Normal file
16
etc/systemd/system/sshd.socket.d/10-ports.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Socket]
|
||||||
|
# Ensure SSHd is not IPv6-only.
|
||||||
|
BindIPv6Only=both
|
||||||
|
|
||||||
|
# Uncomment to disable default port 22
|
||||||
|
#ListenStream=
|
||||||
|
# If the above is uncommented, it will attempt to bind twice and fail.
|
||||||
|
#ListenStream=22
|
||||||
|
|
||||||
|
# WARNING! SELINUX may avc block unreserved ports and fail if additional
|
||||||
|
# ports are enabled.
|
||||||
|
|
||||||
|
# KDE Connect wants TCP port range 1714-1764 open
|
||||||
|
#ListenStream=1714
|
||||||
|
# Mosh wants UDP port range 60000-61000 open (and some might open it in TCP)
|
||||||
|
#ListenStream=60000
|
||||||
Loading…
x
Reference in New Issue
Block a user