diff --git a/CHANGELOG.md b/CHANGELOG.md index 04647096..ce33fa1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [1.68.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.67.0...v1.68.0) (2024-11-13) + +### Features + +* **ipv6:** Add new resource `routeros_interface_6to4` ([742e6bd](https://github.com/terraform-routeros/terraform-provider-routeros/commit/742e6bd55fd4682e952bd35a7acece9968951978)), closes [#593](https://github.com/terraform-routeros/terraform-provider-routeros/issues/593) + +### Bug Fixes + +* **helpers:** Fix PropKeepaliveRw ([32ee5bc](https://github.com/terraform-routeros/terraform-provider-routeros/commit/32ee5bceffdd4c4ed66461ddfc7e469b95068de8)) +* **helpers:** Fix the plan was not empty ([31d420f](https://github.com/terraform-routeros/terraform-provider-routeros/commit/31d420f4f60998830bc860ba1e0f38025cd241d1)) +* **mangle-connection-state:** typo in `established` value ([#595](https://github.com/terraform-routeros/terraform-provider-routeros/issues/595)) ([19c6c97](https://github.com/terraform-routeros/terraform-provider-routeros/commit/19c6c974a9f03f3848e5662ccb73401a72d0f4cf)) + ## [1.67.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.66.0...v1.67.0) (2024-11-10) ### Features diff --git a/docs/resources/interface_6to4.md b/docs/resources/interface_6to4.md new file mode 100644 index 00000000..7cf9bc91 --- /dev/null +++ b/docs/resources/interface_6to4.md @@ -0,0 +1,46 @@ +# routeros_interface_6to4 (Resource) + + +## Example Usage +```terraform +resource "routeros_interface_6to4" "test" { + name = "6to4-tunnel1" + keepalive = "10,10" +} +``` + + +## Schema + +### Required + +- `name` (String) Interface name. + +### Optional + +- `clamp_tcp_mss` (Boolean) Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed. +- `comment` (String) +- `disabled` (Boolean) +- `dont_fragment` (String) +- `dscp` (String) Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. +- `ipsec_secret` (String, Sensitive) When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc). +- `keepalive` (String) Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295 +- `local_address` (String) Source address of the tunnel packets, local on the router. +- `mtu` (String) Layer3 Maximum transmission unit ('auto', 0 .. 65535) +- `remote_address` (String) IP address of the remote end of the tunnel. + +### Read-Only + +- `actual_mtu` (Number) +- `id` (String) The ID of this resource. +- `running` (Boolean) + +## Import +Import is supported using the following syntax: +```shell +#The ID can be found via API or the terminal +#The command for the terminal is -> :put [/interface/6to4 get [print show-ids]] +terraform import routeros_interface_6to4.test *3 +#Or you can import a resource using one of its attributes +terraform import routeros_interface_6to4.test "name=6to4-tunnel1" +``` diff --git a/package.json b/package.json index d824e601..1aca4902 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terraform-provider-routeros", - "version": "1.67.0", + "version": "1.68.0", "repository": { "type": "git", "url": "https://github.com/terraform-routeros/terraform-provider-routeros"