Configure Google Workspace as a SMTP relay

You would need another smtp server that would rewrite the headers.

IP numbers are not secret. If you have a something in front of your small forum that is serving pages and don’t want access from other addresses, configure a firewall to allow access only from the proxy.