
30
Cyclades ACS 5000 Advanced Console Server Command Reference Guide
To configure firewall:
fwset script
Iptables rules are stored in /etc/network/firewall. The fwset script saves the iptables rules in
/etc/network/firewall and saves it to Flash memory.
fwset restore
Restores the iptables’ rules previously saved in /etc/network/firewall to their original configuration.
This command is executed at boot to invoke the last saved configuration.
1.
Execute fwset restore.
2.
Add the required chains and rules. See
Configuring IP tables
on page 22.
3.
Execute
iptables-save > /etc/network/firewall
.
4.
Execute
fwset /etc/network/firewall to save the configuration in Flash memory
.
Static Routes
The Static Routes form allows you to manually add routes. The routing table defines which
interface should transmit an IP packet based on destination IP information. Static routes are a quick
and effective way to route data from one subnet to another. The static routing table may be viewed
using either of the following commands.
[root@CAS root]#
route
[root@CAS root]#
netstat -rn
Routes may be added at the Linux shell prompt using the following command.
route
[add|del] [-net|-host] target netmask nt_msk [gw gt_way] interf
Table 2.21: Routing Table Parameters
Parameter
Description
add|del
Routes may be either added or deleted. One of these options must be
specified.
-net|-host
-net is for routes to a network and -host is for routes to a single host.
target
IPv4: <nnn.nnn.nnn.nnn>
IPv6: <IPv6_address>/<prefix_length>
Target is the IP address of the destination host or network.
netmask
and
nt_msk
Netmask and nt_mask are necessary only when subnetting is used.
Otherwise, a mask appropriate to the target is assumed (IPv4
parameter only).
gw
and
gt_way
Specifies a gateway when applicable. The IP address or hostname of
the gateway is specified by the gt_way parameter.
NOTE:
This can be an IPv4 or an IPv6 address.
Содержание Cyclades ACS 5000 SERIES
Страница 1: ...CYCLADES ACS 5000 Command Reference Guide ...
Страница 8: ...vi Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 16: ...8 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 40: ...32 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 62: ...54 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 76: ...68 Cyclades ACS 5000 Advanced Console Server Command Reference Guide ...
Страница 151: ......
Страница 152: ...590 814 501B For Technical Support www avocent com support ...