Skip to main content
Version: current

mode-config


ip/ipsec/mode-config

Type: Directory

ISAKMP and IKEv2 configuration attributes are configured in this menu.

note

Not all IKE implementations support multiple split networks provided by the split-include option.

note

If the RouterOS client is the initiator, it always sends the CISCO UNITY extension, and RouterOS supports only split-include from this extension.

note

Both attributes Cisco Unity Split DNS (attribute type 28675) and RFC8598 (attribute type 25) are supported, ROS responds to these attributes but only as a responder.

note

You cannot use system-dns and static-dns at the same time; ROS can use only one DNS.

FlagNameDescription
*defaultWhether the item is the default.
RresponderWhether the item acts as a responder.
ArgumentTypeDescription
name ( mandatory )stringMode config entry name.
responderboolSpecifies whether the configuration will work as an initiator (client) or responder (server). The initiator will request mode-config parameters from the responder.
system-dnsboolWhen this option is enabled, DNS addresses will be taken from /ip/dns.
static-dnsobject { address: alt { address4: ipAddr } }Manually specified DNS server IP addresses to be sent to the client.
addressipAddrAddress to assign to the peer.
address-poolenum (none) { none:-1 }issue one address for peer from this pool
address-prefix-lengthnumissued address netmask
split-includeobject { subnet: alt { subnet4: ipPrefix } }List of subnets in CIDR format, which will be tunneled. Subnets will be sent to the peer using the CISCO UNITY extension. A remote peer will create specific dynamic policies.
split-dnsmulti { array-id, dns: string }List of DNS names that will be resolved using a system-dns=yes or static-dns= setting.
src-address-listenum ()Specifying an address list will generate dynamic source NAT rules. This parameter is only available with responder=no. A roadWarrior client with NAT
connection-markenum ()conection-mark to be added to srcnat chain for initiator
use-responder-dnsenum (no | yes | exclusively)if the dns servers sent should be used by the initiator