EFW Support

Support => VPN Support => Topic started by: macbit on Friday 02 August 2019, 11:11:08 pm



Title: OpenVPN Listen both TCP UDP protocols
Post by: macbit on Friday 02 August 2019, 11:11:08 pm
Hi!

I need my openvpn server listen both protocols, TCP and UDP.

I want listen udp 1194 (default) and tcp 443

I need run other openvpn instance right?

I copied file /etc/openvpn/openvpn.1.conf to /etc/openvpn/ovpn2.conf

Tried to start by command line = /usr/sbin/openvpn --config /etc/openvpn/ovpn2.conf

but failed to start ; Address already in use look ;

Aug  2 07:48:41 efw openvpn[28662]: DEPRECATED OPTION: --client-cert-not-required, use --verify-client-cert instead
Aug  2 07:48:41 efw openvpn[28662]: WARNING: POTENTIALLY DANGEROUS OPTION --verify-client-cert none|optional (or --client-cert-not-required) may accept clients which do not present a certificate
Aug  2 07:48:41 efw openvpn[28662]: WARNING: file '/var/efw/vpn/ca/certs/vpnmarlian.localkey.pem' is group or others accessible
Aug  2 07:48:41 efw openvpn[28662]: OpenVPN 2.4.3 x86_64-poky-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jul 27 2017
Aug  2 07:48:41 efw openvpn[28662]: library versions: OpenSSL 1.0.1r  28 Jan 2016, LZO 2.06
Aug  2 07:48:41 efw openvpn[28663]: MANAGEMENT: Socket bind failed on local address [AF_INET]127.0.0.1:5555: Address already in use
Aug  2 07:48:41 efw openvpn[28663]: Exiting due to fatal error



What I need to do to work ?
Maybe start other TUN interface?

Any ideas ? Help please!



Endian Version   3.3.0
Appliance   Community
Kernel 4.4.145.e3.1