I have a openvpn connexion problem. When I tried to get VPN connexion with my IP public adress I've always got error. Then, i tested the ports. The operating system is a CentOS where is OpenVPN server, in a bridget Virtualbox Virtual Machine.
I installed nmap to test UDP 1194 introducing my IP public adress. And I get open/filtered. For the moment all is fine.
When I did connexion with the LAN or localhost IP, it works.
I've configured also at the router the UDP 1194 NAT port for my Desktop PC. And previously configurated that for a static IP adresse in DHCP settings. I did all that i can do. I put 192.168.1.48 adress in the router.
I stop always Firewalld service, then i can get ping from my public IP address.
My conclussion is that i've to change the server IP adress, in my openvpn folder at server.conf file.
My public IP adress is the next
79.X.X.189
Now, I have configured
server 10.8.0.0 255.255.255.0
And for LAN andlocalhost it works, because my LAN address is 10.0.2.15
My question is the next. May I change the server address for a address that seems to the public address?
I would be grateful for an answer.