OpenVPN - port 1194 to be open?

This keep showing up in the logs:

Mar  8 19:15:03 turris odhcpd[4526]: Failed to send to ff02::1%guest_turris@br-guest-turris (Address not available)
Mar  8 19:15:03 turris odhcpd[4526]: Failed to send to ff02::1%lan@br-lan (Permission denied)

but not related to OpenVPN
Edit: starting of OpenVPN:

Mar  8 19:16:51 turris openvpn(server_turris)[4353]: --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: OpenVPN 2.5.3 arm-openwrt-linux-muslgnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: library versions: OpenSSL 1.1.1w  11 Sep 2023, LZO 2.10
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: net_route_v4_best_gw query: dst 0.0.0.0
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: net_route_v4_best_gw result: via 100.64.32.1 dev pppoe-wan
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: Diffie-Hellman initialized with 4096 bit key
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: CRL: loaded 1 CRLs from file /etc/ssl/ca/openvpn/ca.crl
Mar  8 19:16:51 turris netifd: Interface 'vpn_turris' is enabled
Mar  8 19:16:51 turris netifd: Network device 'tun_turris' link is up
Mar  8 19:16:51 turris netifd: Interface 'vpn_turris' has link connectivity 
Mar  8 19:16:51 turris netifd: Interface 'vpn_turris' is setting up now
Mar  8 19:16:51 turris netifd: Interface 'vpn_turris' is now up
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: TUN/TAP device tun_turris opened
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: net_iface_mtu_set: mtu 1500 for tun_turris
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: net_iface_up: set tun_turris up
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: net_addr_v4_add: 10.111.111.1/24 dev tun_turris
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: /usr/libexec/openvpn-hotplug up server_turris tun_turris 1500 1621 10.111.111.1 255.255.255.0 init
Mar  8 19:16:51 turris ModemManager[4366]: hotplug: add network interface tun_turris: event processed
Mar  8 19:16:51 turris ModemManager[4366]: hotplug: event reported: action=add, name=tun_turris, subsystem=net
Mar  8 19:16:51 turris ModemManager[4366]: hotplug: parent device sysfspath not found
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: Could not determine IPv4/IPv6 protocol. Using AF_INET
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: Socket Buffers: R=[180224->180224] S=[180224->180224]
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: UDPv4 link local (bound): [AF_INET][undef]:1194
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: UDPv4 link remote: [AF_UNSPEC]
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: MULTI: multi_init called, r=256 v=256
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: IFCONFIG POOL IPv4: base=10.111.111.2 size=252
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: IFCONFIG POOL LIST
Mar  8 19:16:51 turris openvpn(server_turris)[4353]: Initialization Sequence Completed
Mar  8 19:16:51 turris firewall: Reloading firewall due to ifup of vpn_turris (tun_turris)

Seems alright to me. Online scanners mostly scan only TCP as you need root access to scan UDP. How are you trying to connect when it doesnt work?

1 Like

OpenVPN on android. I might setup hot spot and try from my linux machine.

I just connected a server and connection on 80/443 works fine (both ports open, webpage up&running). Just the OpenVPN fails.
Edit: I’m considering running OpenVPN on the server just to see it redirecting port to it will solve the problem.

I set up OpenVPN on a server and it works, (port forward set in firewall on Turris Omnia) so the problem is 100% related to Turris Omnia. I’m to short to diagnose it. Most likely some lingering config - I removed the packages and it didn’t make any difference.

Maybe a backup, factory reset and restore would help if the backup is a human readable. Or uninstall OpenVPN, remove all files that look related and reinstall.

I want to say big thank you to everyone involved in helping me so far! :slight_smile:

This topic was automatically closed after 60 days. New replies are no longer allowed.