OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • OPNSense Caddy
« previous next »
  • Print
Pages: [1]

Author Topic: OPNSense Caddy  (Read 232 times)

nbrg_kr

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
OPNSense Caddy
« on: November 22, 2024, 08:13:04 am »
Good Morning,

I encountered a problem which i can´t solve.

We run an OPNSense Appliance with subscription.

Caddy is installed and behind runs a mailcow instance and a nextcloud instance.

Both a running fine with http/https and the mailcow eas functionality.

But E-Mail clients can´t connect to the mailserver using IMAP due ssl issues.

Is there a way to route the IMAP and TLS through caddy or do I have solve this with special rules ?

I am lost right now.

I hope someone can help me with this.

Thanks in advance.

Regards

Thomas
Logged

Monviech (Cedrik)

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: 178
    • View Profile
Re: OPNSense Caddy
« Reply #1 on: November 22, 2024, 08:47:39 pm »
Imap ist nicht HTTP oder HTTPS.

Du kannst dem Mailcow Server auch ein gültiges Let's Encrypt geben mit dieser Option:
https://docs.opnsense.org/manual/how-tos/caddy.html#redirect-acme-http-01-challenge

Sobald das dem IMAP Dienst darauf zugewiesen ist, kannst du entweder eine Portweiterleitung in der Firewall machen, oder eine Layer4 Proxy Route:

https://docs.opnsense.org/manual/how-tos/caddy.html#caddy-layer4-proxy
Logged
Hardware:
DEC740

nbrg_kr

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: OPNSense Caddy
« Reply #2 on: November 23, 2024, 05:35:29 pm »
Hallo Cedrik,

vielen Dank für die Infos.

Habe die Ports per Rule genattet und Mailcow LE auf enable gesetzt.

Dank Deines Hinweise klappt nun alles wie erwartet.

Den Layer 4 Weg werde ich aber auch noch testen

Schönen Abend und schönes WE.

VG

Thomas
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • OPNSense Caddy
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2