Sub-menu:
/ip serviceProperties
Note that it is not possible to add new services, only existing service modifications are allowed.| Property | Description |
|---|---|
| address (IP address/netmask | IPv6/0..128; Default: ) | List of IP/IPv6 prefixes from which the service is accessible. |
| certificate (name; Default: none) | The name of the certificate used by particular service. Applicable only for services that depends on certificates (www-ssl, api-ssl) |
| name (name; Default: none) | Service name |
| port (integer: 1..65535; Default: ) | The port particular service listens on |
Example
For example allow telnet only from specific IPv6 address range[admin@dzeltenais_burkaans] /ip service> set api address=10.5.101.0/24,2001:db8:fade::/64
[admin@dzeltenais_burkaans] /ip service> print
Flags: X - disabled, I - invalid
# NAME PORT ADDRESS CERTIFICATE
0 telnet 23
1 ftp 21
2 www 80
3 ssh 22
4 X www-ssl 443 none
5 api 8728 10.5.101.0/24
2001:db8:fade::/64
6 winbox 8291
Service Ports
Sub-menu:
/ip firewall service-portHosts behind a NAT-enabled router do not have true end-to-end connectivity. Therefore some Internet protocols might not work in scenarios with NAT.
To overcome these limitations RouterOS includes a number of NAT helpers, that enable NAT traversal for various protocols.
Note: If connection tracking is not enabled then firewall service ports will be shown as inactive
| Helper | Description |
|---|---|
| FTP | FTP service helper |
| h323 | H323 service helper |
| irc | |
| PPTP | PPTP tunneling helper. |
| SIP | |
| tftp |
Protocols and ports
Table below shows the list of protocols and ports used by RouterOS.
|
|---|
No comments:
Post a Comment