diff --git a/security/wazuh-agent/src/opnsense/mvc/app/controllers/OPNsense/WazuhAgent/forms/settings.xml b/security/wazuh-agent/src/opnsense/mvc/app/controllers/OPNsense/WazuhAgent/forms/settings.xml
index 0253a4fd1..3654827d8 100644
--- a/security/wazuh-agent/src/opnsense/mvc/app/controllers/OPNsense/WazuhAgent/forms/settings.xml
+++ b/security/wazuh-agent/src/opnsense/mvc/app/controllers/OPNsense/WazuhAgent/forms/settings.xml
@@ -15,6 +15,13 @@
text
Specifies the IP address or the hostname of the Wazuh manager.
+
+ agent.general.protocol
+
+ dropdown
+ true
+ Specifies the IP protocol to use.
+
agent.logcollector.syslog_programs
diff --git a/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml b/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml
index 9a5b5de72..4c4a2b568 100644
--- a/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml
+++ b/security/wazuh-agent/src/opnsense/mvc/app/models/OPNsense/WazuhAgent/WazuhAgent.xml
@@ -1,6 +1,6 @@
//OPNsense/WazuhAgent
- 1.0.0
+ 1.0.1
Wazuh Agent
@@ -14,6 +14,14 @@
Y
Y
+
+ tcp
+ Y
+
+ TCP
+ UDP
+
+
0
Y
diff --git a/security/wazuh-agent/src/opnsense/service/templates/OPNsense/WazuhAgent/ossec.conf b/security/wazuh-agent/src/opnsense/service/templates/OPNsense/WazuhAgent/ossec.conf
index 1303029ae..53aeb20e7 100644
--- a/security/wazuh-agent/src/opnsense/service/templates/OPNsense/WazuhAgent/ossec.conf
+++ b/security/wazuh-agent/src/opnsense/service/templates/OPNsense/WazuhAgent/ossec.conf
@@ -2,6 +2,7 @@
{{OPNsense.WazuhAgent.general.server_address}}
+ {{OPNsense.WazuhAgent.general.protocol|default('tcp')}}
aes