You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
I am experiencing an issue where the source IP address of incoming email connections is being changed when using a TCP stream. Instead of seeing the original source IP, I receive the IP address of my server. Proxmox Mail Gateway does reject the mails because the spf check fails, since the source adress is changed to my VPS ip.
Describe what have you tried
I expected to see the original source IP address in my mail logs, but instead, I see the server’s IP address.
Describe the networking setup you are using
I've got a VPS from IONOS where I have installed Zoraxy and Tailscale (VPN)
I want to redirect / stream port 25 to internal address.
Are you using the docker build of Zoraxy? No
Your Zoraxy version? Zoraxy v.3.1.1
Are you using Cloudflare? No
Are your system hosted under a NAT router? No
DNS record (if any): not required here
Additional context
Is there a header like http proxy has "x-forwarded-from" so I could tell Proxmox Mail Gateway to use it as real ip?
The text was updated successfully, but these errors were encountered:
@firepked I am not sure what your mail gateway is actually using as determining the source IP address of the incoming email, but here are some information for you regarding your questions
I expected to see the original source IP address in my mail logs
The Stream Proxy operates on the Transport layer of OSI model. The stream proxy listener accept your incoming packet and send it out using the socket that created when you start the stream proxy service. So if your mail gateway is using the TCP packet headers to determine its source IP, then you should not be using the Stream Proxy for mail forwarding but something lower (like network adapter bridge)
Is there a header like http proxy has "x-forwarded-from" so I could tell Proxmox Mail Gateway to use it as real ip?
x-forwarded-for is a HTTP header and if you proxy your mail in Stream Proxy mode, Zoraxy will not be able to modify your HTTP request header and append that for you. Have you tried using HTTP Proxy instead?
What happened?
I am experiencing an issue where the source IP address of incoming email connections is being changed when using a TCP stream. Instead of seeing the original source IP, I receive the IP address of my server. Proxmox Mail Gateway does reject the mails because the spf check fails, since the source adress is changed to my VPS ip.
Describe what have you tried
I expected to see the original source IP address in my mail logs, but instead, I see the server’s IP address.
Describe the networking setup you are using
I've got a VPS from IONOS where I have installed Zoraxy and Tailscale (VPN)
I want to redirect / stream port 25 to internal address.
Are you using the docker build of Zoraxy? No
Your Zoraxy version? Zoraxy v.3.1.1
Are you using Cloudflare? No
Are your system hosted under a NAT router? No
DNS record (if any): not required here
Additional context
Is there a header like http proxy has "x-forwarded-from" so I could tell Proxmox Mail Gateway to use it as real ip?
The text was updated successfully, but these errors were encountered: