Cyclades PC400 installation manual Accept Deny, Interface is

Page 42

Cyclades-PC400

Installation Manual

The output chain controls which packets are sent. A packet can be accepted by the input chain, but then rejected by the output chain. Likewise, the forward chain controls which packets will be routed. The input chain controls incoming packet filtering. The packet is either destined for the router or for another computer. In the latter case, the packet is processed by the forward chain. Packets that pass through the forward chain will then be pro- cessed by the output chain.

source and destination have the following format: [!]address[/mask] [!][port[:port]]

!: reverses the definition, resulting in the opposite effect. address : host or network IP

port : defines a specific port

port:port : defines a range of ports

If a source or destination is not specified then 0.0.0.0/0 is used.

protocol is one of the following:

tcp, udp, icmp, all or a protocol number (see the file /etc/protocols for a list).

target is one of the following:

ACCEPT DENY

the name of another chain

interface is:

one of the server interfaces. Lists do not need to be associated to an interface, so this option may be omitted.

To save changes made using the ipchains command, execute fwset. This command will save the filter configu- ration in the file /etc/network/firewall.

To delete the changes made (before fwset is executed) execute fwset restore to return to the lists previously saved in /etc/network/firewall. Only the lists previously saved using fwset will then be defined. This command is

Appendix A - Linux

42

Image 42
Contents Cyclades-PC400 Cyclades-PC400 Installation Manual FCC Warning StatementCanadian DOC Notice Table of Contents Appendix B Hardware Specifications What is in the BOX Upgrades of Software and ManualsHardware Installation Step OneStep Two Step Three Step Four Step FiveSoftware Installation Software Installation Make config Make menuconfig Board and System Configuration Step ONEStep TWO Dspprofilebegin InterfnNbegin Label Description ISDN-PRI Profile Parameters Interface Parameters USA AT&T Pc400util -p Last or channelnumberchannelnumberchannelnumber etcPc400load Step ThreeStep Four Step Five Guided Examples for the Most Common ApplicationsLAN ISDN-BRIParameter Description Value for T1 Value for E1 Line RAS DIAL-IN Application Parameters∙∙∙ Example 2 a LAN-to-LAN Example Using Channels LANETH0 10 Multiple LAN-TO-LAN Application Parameters ∙∙∙ Troubleshooting General TipsHardware Test Root@cyclades common# ./pc400hwtestPasses Pg0 Board ESC Previous Menu G Global E ErrorsGlobal Test DSP U19 U06 U20 U07Previous Menu G Global E Errors ESCAdministrative Utilities Passwd Users and PasswordsAppendix a Information for Users not Familiar with Linux Linux File StructureBasic File Manipulation Commands Cp filename destinationMode What is done there How to Get There Vi EditorVi filename Routing Table Netmask Netstat -rnNet-host Ssh The Secure Shell SessionPID TTY Stat Time Command Loading the Configuration FileProcess Table Syslog Minute hour date month day-of-week user commandGet information from the board Crond UtilityDhcp Dynamic Host Configuration Protocol Client Active root /etc/tstcron.src59 * * * * /etc/testcron.sh Packet Filtering using ipchains Accept Deny Interface isCyclades-PC400 Installation Manual Appendix B Hardware Specifications RJ-48C Signal Pin RxTip RxRing TxTip TxRingCyclades Philippines