![Gemalto SafeNet ProtectServer Скачать руководство пользователя страница 30](http://html.mh-extra.com/html/gemalto/safenet-protectserver/safenet-protectserver_installation-and-configuration-manual_2206689030.webp)
-gateway
<ipaddress>
-g
Specifies the gateway to assign to the specified
device.
-force
-f
Force the action without prompting.
Example
psesh:> net -interface -static -device eth1 -ip 192.22.101.77 -
gateway 192.16.0.2 -netmask 255.255.0.0
'net -interface' successful.
Ethernet device eth1 set to ip address 192.22.101.77.
network iptables
Configure the iptables firewall for the appliance. You can use this command to
configure the iptables ACCEPT and DROP rules.
By default, the SafeNet ProtectServer Network HSM allows access to all networks
and hosts. The default policy for the INPUT and OUTPUT chain is set to ACCEPT.
The default policy for the FORWARD chain is set to DROP, since the SafeNet
ProtectServer Network HSM is not used to forward packets, as in a router or proxy.
Syntax
network iptables
[
show
|
addrule
|
delrule
|
save
|
clear
]
Parameter
Shortcut
Description
addrule
a
Add an ACCEPT or DROP rule to the iptables
firewall for the appliance. See “network iptables
addrule”, below.
clear
c
Add a host or network DROP rule to the iptable
for the appliance.
delrule
<ip_address>
d
Specifies the IP address of the host you are
adding the rule for.
save
sa
Specifies the IP address and network mask for
the network you are adding the rule for.
show
sh
Display the current iptables configuration.
network iptables addrule
Add an ACCEPT or DROP rule to the iptables firewall for the appliance.
WARNING! These rules govern network access to the appliance. Adding a
malformed rule may cause a lockout.
Note:
You must use the
network iptables save
command to save your changes.
Failure to do so will result in your changes being discarded on the next appliance
restart.