20
will be passed.
¡
-m
<IP address>
By default during the masquerade an outgoing interface’s IP
address is used. The option above allows forcing use of another address.
¡
accept / deny / masq
- information, what to do with a packet,
that conforms to a given rule (accept / discard / masquerade)
Note:
The modem always chooses the first matching rule from
the list. So if the more general rule comes first, and the more
specific is later, then the first one will be applied and the last one -
ignored. Thus the specific rule has to be inserted
before
the
general one, as in following example:
ipchains add -s 215.16.11.0/24 deny
ipchains insert -s 215.16.11.5 accept
Commands above inhibit the access for the whole 215.16.11.0/24
subnet
except
the 215.16.11.5 address.
More examples:
ipchains add d 0.0.0.0/0 80-80 p tcp deny
Inhibits access to the port 80 on all external servers.
ipchains add s 192.168.0.0/16 masq
Enables masquerade for the 192.168.0.0/16 subnet (other
addresses are passed unchanged)
4.3.14.
keypad
Allows locking of front panel keyboard. Three settings are
possible:
Note:
The specific
“accept” rule (concerning one IP address) has
to be inserted
before
the general one (concerning the whole
subnet), either using the “insert” command as in the example
above or by adding the specific rule first and then the general one.
Otherwise the router will always apply the first rule and will never
reach the second one, as the packet coming from 215.16.11.5 fits
both of them and if the general one is first, then it will be applied.
21
¡
on
- keyboard enabled (default)
¡
off
- keyboard disabled
¡
stat
- only line measurements can be displayed
4.3.15.
lang
Selects the language used to display messages during the telnet
or console connection and on the LCD:
¡
lang 0 -
Polish
¡
lang 1
- English
4.3.16.
lcd
The “lcd” command may be used to customize the LCD
information (e.g. to ease modem identification):
¡
lcd 1 <text>
- sets the text displayed on the first line of the LCD
¡
lcd 2 <text>
- sets the text displayed on the second line
¡
lcd show
- shows current settings
¡
lcd clear
- disables custom display
¡
lcd { first | last }
-
the text may be shown either as the first
screen (the standard screen with modem type, throughput and
line state would be available after pressing Enter) or as the last
one (after the screen with line parameters, that is after pressing
Enter three times)
The special characters may be used in the text displayed. They
will be replaced by appropriate values
:
¡
$t
- modem type (e.g. „Tahoe 684”)
¡
$s
- total line throughput
¡
$1, $2, $3, $4
- state of subsequent lines (e.g. „SYNC”)
¡
$a, $b, $c, $d
- shortened line states (e.g. „S”)
4.3.17.
masq
The “masq” command displays a list of masqueraded
connections. The list consists of source and destination addresses, the
port assigned by the modem, the time remaining to the removal of an
entry in case of connection inactivity and the amount of remaining free
table entries that may be used for new connections. Both ports and IP
addresses are printed as hexadecimal numbers.
4.3.14
4.3.17
4.3.16
4.3.15
Summary of Contents for 684
Page 1: ...FREEDOM OF COMMUNICATION USER MANUAL G shdsl modem with built in router TAHOE 684 ...
Page 2: ......
Page 35: ......