Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Routing or TCP Relay
« previous
next »
Print
Pages: [
1
]
Author
Topic: Routing or TCP Relay (Read 651 times)
mahescho
Jr. Member
Posts: 63
Karma: 2
Routing or TCP Relay
«
on:
December 09, 2023, 02:35:34 pm »
Hi,
my setup looks like this:
MailServer -> OpnSense1 -> Wireguard (Internet) -> OpnSenese2 -> Internet
Port 25 of the mail server has to be routet to OpnSese2 to reach other mail servers. IMHO there are two possible solutions:
1. A policy based route on OpnSense2 pointing to the LAN address of OpnSense2 where the packets get nated and routed out to the internet.
2. A TCP relay on OpnSese2 used at the mailserver.
For 1. I can't figure out how to configure the routing in OpnSesnse1 and for 2. I don't know which plugin to use. A Mail-Relay on OpnSense2 is no option for me.
Any suggestions?
TIA
Matthias
Logged
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13
knebb
Full Member
Posts: 126
Karma: 4
Re: Routing or TCP Relay
«
Reply #1 on:
December 11, 2023, 09:15:59 am »
As usual, I do not know for whatever reason you have to apply such a weird setup....
Anyways: Are you having issues in outgoing or incoming connections?
Do you want the mailserver be reachable by public IP? Or does the outgoing mail traffic has to use the public IP of your opnsense2?
/KNEBB
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Routing or TCP Relay