From b8bf8b65f6959341adce50b0f220908c32835e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?s=C3=A9bastien?= Date: Mon, 9 Dec 2024 17:24:40 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20Lina=5FTina/lina-cert=5Frenew.sh=20=09modifi=C3=A9=C2=A0:=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20routeros/mikrotik.rsc=20=09modifi=C3=A9?= =?UTF-8?q?=C2=A0:=20=20=20=20=20=20=20=20=20routeros/update=5Fmikrotik.rs?= =?UTF-8?q?c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lina_Tina/lina-cert_renew.sh | 4 ++-- routeros/mikrotik.rsc | 2 +- routeros/update_mikrotik.rsc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lina_Tina/lina-cert_renew.sh b/Lina_Tina/lina-cert_renew.sh index bde61f6..763c1e5 100644 --- a/Lina_Tina/lina-cert_renew.sh +++ b/Lina_Tina/lina-cert_renew.sh @@ -5,8 +5,8 @@ FQDN_1=lina.altinea.fr /root/.acme.sh/acme.sh --issue --standalone --keylength 4096 -d ${FQDN_1} -cd /etc/myacme/lina.altinea.fr -cat lina.altinea.fr.key > server.pem +cd /etc/myacme/${FQDN_1} +cat ${FQDN_1}.key > server.pem cat fullchain.cer >> server.pem cp server.pem /lina/AtempoDedupEngine/default/conf/ssl_cert.pem diff --git a/routeros/mikrotik.rsc b/routeros/mikrotik.rsc index 62a880c..fc72c99 100644 --- a/routeros/mikrotik.rsc +++ b/routeros/mikrotik.rsc @@ -57,7 +57,7 @@ add action=masquerade chain=srcnat comment="Ex src-nat by ip" disabled=yes log-p add action=dst-nat chain=dstnat comment="Ex dst-nat " disabled=yes dst-address=185.123.87.173 dst-port=8443 protocol=tcp src-address=\ 185.123.84.200 to-addresses=192.168.88.254 to-ports=443 /ip firewall service-port -set sip disabled=yes +set sip sip-direct-media=no /ip service set telnet disabled=yes set ftp disabled=yes diff --git a/routeros/update_mikrotik.rsc b/routeros/update_mikrotik.rsc index 7ecc39a..a1fd070 100644 --- a/routeros/update_mikrotik.rsc +++ b/routeros/update_mikrotik.rsc @@ -43,7 +43,7 @@ add action=masquerade chain=srcnat comment="Ex src-nat by ip" disabled=yes log-p add action=dst-nat chain=dstnat comment="Ex dst-nat " disabled=yes dst-address=185.123.87.173 dst-port=8443 protocol=tcp src-address=\ 185.123.84.200 to-addresses=192.168.88.254 to-ports=443 /ip firewall service-port -set sip disabled=yes +set sip sip-direct-media=no /ip service set telnet disabled=yes set ftp disabled=yes