[stunnel-users] connect ip = accept ip on multihomed server ?

Dennis Spreen mailing at spreendigital.de
Mon May 9 08:19:58 CEST 2005


hi all,

with a configuration (stunnel4.10) like this

[conc1]
accept = 100
connect = 99

stunnel accepts all requests on all ips on port 100 but
connects with the localhost to port 99. 
is it possible to configure stunnel that if it accepts a
connection on 1.2.3.4:100 it connects to 1.2.3.4:99 ?

I know it is possible to use
accept = 1.2.3.4:100
connect = 1.2.3.4:99
....
accept = 1.2.3.250:100
connect = 1.2.3.250:99

but i'm on a c-class and that would require about 250
entries in the config file. Is there a better way to do this?


regards
 dennis




More information about the stunnel-users mailing list