Hi,

On 29/04/20 03:26, Erich Titl wrote:
Hi

Am 29.04.2020 um 00:45 schrieb Leroy Tennison via Openvpn-users:
I had a situation today where i was asked "telnet to the port, see if it
connects" to check their firewall configuration.  I realize this isn't
going to work because telnet is tcp and the configuration is udp but it
caused me to wonder "Is there a way to test protocol connectivity (are
udp packets from a source making it to a destination) without actually
trying to make a connection?"  The reason I ask is that an existing 1024
bit connection is being replaced by a 4096 bit one and I would prefer to
know that the firewall configuration (over which I have no visibility or
control) was "in place" before attempting to do so.

Why don't you just use an openvpn client with a known working connection
and read its log file.


Eric is fully correct - depending on your setup, that is about the *only* way you ever will get a useful answer over UDP; if you have set up tls-auth or tls-crypt then 'netcat -u' will not work, as the OpenVPN server will/should drop all packets immediately that are not signed using the right key.

HTH,

JJK



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to