
9 Aug
2021
9 Aug
'21
3:25 p.m.
On 09.08.21 17:02, [email protected] wrote:
I've tested it with the native getent command: $ getent hosts svchost 127.0.0.1
$ chroot /var/run/stunnel/chroot getent hosts svchost 1.2.3.4
3/ run stunnel in chroot mode: [...] [tls12] accept = localhost:80 connect = svchost:443 ;
Alas, stunnel still resolves svchost from the global /etc/hosts - not from chroot's!:
Why wouldn't you just put "connect = 1.2.3.4:443" into your stunnel config ... ? Regards, -- Jochen Bern Systemingenieur Binect GmbH