Wildcard outbound IP matching...

6 Jul
2006
6 Jul
'06
8:15 p.m.
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

7 Jul
7 Jul
10:04 a.m.
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. -- Mit freundlichen Grüßen / Sincerely Dipl. Inform. Ralph Seichter
6982
Age (days ago)
6983
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeff Roberts
-
Ralph Seichter