sshdCfgGatewayPorts
BIANCA-BRICK-SSH-MIB ·
.1.3.6.1.4.1.272.4.44.1.20
Object
scalar mandatory
r/w
Enumeration
Specifies whether remote hosts are allowed to connect to ports forwarded for the client. By default, sshd binds remote port forwardings to the loopback addresss. This prevents other remote hosts from connecting to forwarded ports. GatewayPorts can be used to specify that sshd should bind remote port forwardings to the wildcard address, thus allowing remote hosts to connect to forwarded ports. The argument must be 'yes' or 'no'. The default is 'no'.
Context
- MIB
- BIANCA-BRICK-SSH-MIB
- OID
.1.3.6.1.4.1.272.4.44.1.20- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- sshDaemonCfg
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-SSH-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-SSH-MIB::sshdCfgGatewayPorts.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-SSH-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-SSH-MIB::sshdCfgGatewayPorts'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | yes |
2 | no |