Is there a way to configure Stunnel to capture outbound packets for *any* IP, but for a specific port? My SMTP server can be configured to connect directly to the final SMTP server. I can configure the outbound port to some other port other than 25, so I'd like to say something like -
[smtpclient] protocol=smtp accept = *:2210 connect = *:25
Suggestions?
->Jeff RAD Game Tools
Jeff Roberts wrote:
Is there a way to configure Stunnel to capture outbound packets for *any* IP, but for a specific port?
I don't know if Stunnel can do things like that, but if you're using a Linux machine, you could use iptables (DNAT target) to let the kernel take care of this.