freebox_vpn_server (Resource)
Manages one of the built-in VPN server configurations on the Freebox (pptp, openvpn_routed or openvpn_bridge). This is a singleton resource per vpn_id: it configures an existing server slot rather than creating a new one. Destroying this resource disables that VPN server.
Example
resource "freebox_vpn_server" "example" {
enabled = true
server_port = 1194
}
Schema
Optional
cipher(String) Cipher used by the OpenVPN server:blowfish,aes128oraes256(only relevant when vpn_id is openvpn_routed or openvpn_bridge)disable_fragment(Boolean) Disable the fragment configuration option (only relevant when vpn_id is openvpn_routed or openvpn_bridge)enable_ipv4(Boolean) Enable IPv4 (not relevant for openvpn_bridge and pptp)enable_ipv6(Boolean) Enable IPv6 (not relevant for openvpn_bridge and pptp)enabled(Boolean) Whether the VPN server is enabledport(Number) Server port (only editable when vpn_id is openvpn_routed or openvpn_bridge)use_tcp(Boolean) Use TCP instead of UDP (only relevant when vpn_id is openvpn_routed or openvpn_bridge)vpn_id(String) Which VPN server to manage:pptp,openvpn_routedoropenvpn_bridge
Read-Only
id(String) Identifier of the VPN server, same value asvpn_idip6_end(String) Read-only IPv6 pool range end for clientsip6_start(String) Read-only IPv6 pool range start for clientsip_end(String) Read-only IPv4 pool range end for clientsip_start(String) Read-only IPv4 pool range start for clientsmax_port(Number) Read-only upper bound of the available port rangemin_port(Number) Read-only lower bound of the available port range
Import
# The VPN server is a singleton resource; use "openvpn" as the import ID
terraform import "freebox_vpn_server.example" openvpn