Manual:IP/Firewall/Address list: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
<h2>Properties</h2>
<h2>Properties</h2>
<table class="styled_table">
<table class="styled_table">
<tr>
 
  <th width="40%">Property</th>
{{Mr-arg-table-h
  <th >Description</th>
|prop=Property
</tr>
|desc=Description
<tr>
}}
    <td><var><b>address</b></var> (<em>IP address/netmask | IP-IP</em>; Default: <b></b>)</td>
 
    <td>IP address or range to add to address list</td>
{{Mr-arg-table
</tr>
|arg=address
<tr>
|type=<nowiki>IP address/netmask | IP-IP</nowiki>
    <td><var><b>list</b></var> (<em>string</em>; Default: <b></b>)</td>
|default=
    <td>Name of the address list where to add IP address</td>
|desc=IP address or range to add to address list
</tr>
}}
 
{{Mr-arg-table
|arg=list
|type=string
|default=
|desc=Name of the address list where to add IP address
}}
 
</table>
</table>



Revision as of 16:38, 8 March 2010

Applies to RouterOS: 2.9, v3, v4

Summary

Sub-menu: /ip firewall address-list

Firewall address lists allow user to create lists of IP addresses grouped together. Firewall filter, mangle and NAT facilities can use address lists to match packets against them.

The address list records could be updated dynamically via the action=add-src-to-address-list or action=add-dst-to-address-list items found in NAT, mangle and filter facilities.


Properties

Property Description
address (IP address/netmask | IP-IP; Default: ) IP address or range to add to address list
list (string; Default: ) Name of the address list where to add IP address