Avocent Cyclades ACS Service Manual Page 38

  • Download
  • Add to my manuals
  • Print
  • Page
    / 152
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 37
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.
Page view 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 151 152

Comments to this Manuals

No comments