Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
19.1k stars 4.9k forks source link

OpenVPN using port 64999 in addition to the port I selected #979

Closed GNUGradyn closed 2 years ago

GNUGradyn commented 2 years ago

Hi. I'm trying to setup OpenVPN for use with another project. I had this working previously for quite some time via this script but had issues after reinstalling openVPN via the script. I can connect via the normal openVPN desktop application, but not with the other project.

I did some poking around via wireshark and noticed that when connected to the VPN via the desktop application, port 64999 is used in addition to the port I selected (1194). The other project I am trying to work with runs in a docker container that does not expect this behavior and therefore does not properly configure its firewall to account for this.

image

Why is the VPN behaving this way? Why is it using port 64999 in addition to the VPN port? Additional details on https://github.com/guillaumedsde/alpine-qbittorrent-openvpn/issues/135

GNUGradyn commented 2 years ago

nevermind, i had forgotten to specify the direction of the traffic in wireshark. my bad.