Manual:IP/TFTP: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
New page: RouterOS has a built-in TFTP server since v3.22 * '''ip-address''' ''(required)'' - range of IP addresses accepted as clients * '''req-filename''' - requested filename as ''regular expres...
 
mNo edit summary
Line 5: Line 5:
* '''real-filename''' - if above two values are set and valid, the requested filename will be replaced with this. If this field is empty, the ''req-filename'' will be used. If multiple ''regex'' are specified in ''req-filename'', with this field you can set which ones should match, so this rule is validated. ''real-filename'' format for using multiple ''regex'' is '''filename\0\5\6'''
* '''real-filename''' - if above two values are set and valid, the requested filename will be replaced with this. If this field is empty, the ''req-filename'' will be used. If multiple ''regex'' are specified in ''req-filename'', with this field you can set which ones should match, so this rule is validated. ''real-filename'' format for using multiple ''regex'' is '''filename\0\5\6'''
* '''allow''' (''default: yes'') - to allow connection if above fields are set. if ''no'', connection will be interrupted
* '''allow''' (''default: yes'') - to allow connection if above fields are set. if ''no'', connection will be interrupted
* '''read-only''' (''default: no'') -  noska vai failu var tikai lasiit. rakstishanas pieprasijuma gadijumaa savienojums tiks partraukts ar kludu.
* '''read-only''' (''default: no'') -  sets if file can be written to, if set to "no" write attempt will fail with error
* '''hits''' -  cik reizes shis konfiguracijas ieraksts ir sakritis ar pieprasijumu [tikai apskatams]
* '''hits''' -  how many times this configuration entry has been executed (viewable only)

Revision as of 12:13, 3 April 2009

RouterOS has a built-in TFTP server since v3.22

  • ip-address (required) - range of IP addresses accepted as clients
  • req-filename - requested filename as regular expression (regex)
  • real-filename - if above two values are set and valid, the requested filename will be replaced with this. If this field is empty, the req-filename will be used. If multiple regex are specified in req-filename, with this field you can set which ones should match, so this rule is validated. real-filename format for using multiple regex is filename\0\5\6
  • allow (default: yes) - to allow connection if above fields are set. if no, connection will be interrupted
  • read-only (default: no) - sets if file can be written to, if set to "no" write attempt will fail with error
  • hits - how many times this configuration entry has been executed (viewable only)