How to setup stunnel in vyos 1.4?

Hello everyone,
Does anyone know how to setup stunnel on vyos ?
This task seem like the vyos 1.4 already suppport stunnel, but my quesiton is how to setup stunnel on vyos ?
https://vyos.dev/T4783

The way I read that ticket is that it’s been added to the image:

[ ] Initializing inetd mode configuration
[ ] Clients allowed=500
[.] stunnel 5.68 on x86_64-pc-linux-gnu platform
[.] Compiled with OpenSSL 3.0.9 30 May 2023
[.] Running  with OpenSSL 3.0.11 19 Sep 2023
[.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,OCSP,PSK,SNI Auth:LIBWRAP
[ ] errno: (*__errno_location ())
[!] Invalid configuration file name "/etc/stunnel/stunnel.conf"
[!] realpath: No such file or directory (2)
vyos@vyos:~$ 

Not that it’s had any CLI functionality added though.
I can’t see any under set service either.

Only the package “ stunnel4” was added.
There are no any CLI or template for it.
Create a feature request if you know which configs should be generated by this tool and we’ll think about CLI together.

1 Like

Since OpenVPN has better performance, is that possible let openvpn work with stunnel to speed up speed of OpenVPN?

Can you explain what you mean?

OpenVPN has “better performance” compared to what? In what way would you want OpenVPN to use Stunnel?

Remember with Vyos 1.3+ you can always deploy containers if you think there’s a missing bit of software you want on your router.

here is the PR : âš“ T5735 Add CLI and configuration scripts for stunnel

1 Like

I want to build open vpn connection in stunnel firstly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.