STIGUI
V-256587CAT II — Medium severitySV-256587r1268251_rule

The Photon operating system must configure sshd to restrict AllowTcpForwarding.

Rule version PHTN-30-000119 · STIG v1 · 2026-08-31

Discussion

While enabling Transmission Control Protocol (TCP) tunnels is a valuable function of sshd, this feature is not appropriate for use on single-purpose appliances.

Check

At the command line, run the following command:

# sshd -T|&grep -i AllowTcpForwarding

Expected result:

allowtcpforwarding no

If the output does not match the expected result, this is a finding.

Fix

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "AllowTcpForwarding" line is uncommented and set to the following:

AllowTcpForwarding no

At the command line, run the following command:

# systemctl restart sshd.service

Identifiers

Group ID
V-256587
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-256587r1268251_rule
Check ID
C-60262r887433_chk
Fix ID
F-60205r887434_fix