New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to push emails through GRE
PrincessOfCats
Member
I currently have a gitlab installation behind a GRE tunnel. Emails in gitlab are sent by mandrill.
How can I push emails through the GRE tunnel so that emails sent by mandrill have the GRE tunneled IP instead of the server ip?
Comments
so you want to route (layer 3) something into the gre tunnel or you want to use a proxy (layer 7)?
Either one will work - whichever one is easier. I just want to make the IP that shows up in the mandrill email header the one from the GRE host so that I don't leak my non-ddos protected IP out in emails.
Edit: removed GRE proxy from the first post - its a GRE tunnel not a proxy
Setup a postfix server with mandrill on your server with the public facing IP. On your gitlab server, smtp your emails to that postfix server.
so i would prefer routing:
on the remote side:
without testing anything...