sudo systemctl status openvpn-server@server.service
и кофниг стуннел [openvpn]
accept = 1194
connect = server_ip:443
cert = /etc/stunnel/stunnel.pem
проверял командой systemctl status stunnel4.service
но когда меняешь наоборот не работает [openvpn]
accept = server_ip:443
connect = 1194
cert = /etc/stunnel/stunnel.pem
root@ubuntu-s-1vcpu-1gb-nyc3-01:~# systemctl status stunnel4.service
● stunnel4.service - LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons)
Loaded: loaded (/etc/init.d/stunnel4; generated)
Active: failed (Result: exit-code) since Sat 2020-12-19 19:57:44 UTC; 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 57391 ExecStart=/etc/init.d/stunnel4 start (code=exited, status=1/FAILURE)
Tasks: 2 (limit: 1137)
Memory: 20.5M
CGroup: /system.slice/stunnel4.service
└─40231 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57405]: [!] Binding service [openvpn] failed
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57405]: [ ] Deallocating section defaults
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57405]: [ ] Unbinding service [openvpn]
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57405]: [ ] Service [openvpn] closed
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57405]: [ ] Deallocating section [openvpn]
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57391]: failed (no pid=pidfile specified!)
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 stunnel4[57391]: You should check that you have specified the pid= in you configuration file
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 systemd[1]: stunnel4.service: Control process exited, code=exited, status=1/FAILURE
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 systemd[1]: stunnel4.service: Failed with result 'exit-code'.
Dec 19 19:57:44 ubuntu-s-1vcpu-1gb-nyc3-01 systemd[1]: Failed to start LSB: Start or stop stunnel 4.x (TLS tunnel for network daemons).
вы хотите от меня ч то бы я поставил опен с айпи и портом потому изменил его на 1194 и 127 а потом уже ставил стуннел так?