Siemens SINUMERIK 840D sl Commissioning Manual page 843

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

2.5.10
Openport
Description
Syntax:
Alternative names:
Authorization level:
Mode of operation
This command opens a port in the firewall to the company network (X130) for a certain time.
The default time is 15 minutes, but this can be changed with the -MINUTES option. The
maximum possible time is 60 minutes.
The port to be opened is specified in the form "PROTO/PORTNR". The protocol can be
either "tcp" or "udp". This is followed by the specification of the hosts from which the port
should be accessible. Several forms are possible here:
● A single IP address: "128.128.12.12"
● A host name (if this can be resolved via DNS), e.g. "server"
● An IP area with network screen form specification, e.g. "128.128.12.0/255.255.255.0"
● An IP area with specification of the valid bits, e.g. "128.128.12.0/24"
If the specification of the source host is completely missing, this is normally acknowledged
with an error message. However, an exception is when the "sc openport" command is
entered in a shell opened via SSH. The permitted host is taken from the environment
variable $SSH_CLIENT that contains the IP of the SSH client.
If the opening was successful, an ID number is output in a status message:
sc: Port tcp/25 is open, rule ID is 6620
This ID can be used with "sc closeport" to manually close the port earlier.
NOTICE
Security risk
Note that opening the ports in the firewall can represent a security risk. Only enable the
ports that you actually require.
Note that every accessible service can have security gaps.
See also
Parameter "FirewallOpenPorts" in the "basesys.ini" file.
NCU operating system (IM7)
Commissioning Manual, 03/2013, 6FC5397-1DP40-3BA1
sc openport [-MINUTES] PROTO/PORT SOURCE ...
---
service
Configuring the system
2.5 Description of the actions
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents