How to connect to my computer from outside of my network using OpenVPN

I have setup apache for web development on Fedora32 Xfce,

I want to know, how to set up a VPN connection so that my friends outside of my network can access the webpages on my computer as well.

The VPN I want to use is OpenVPN

Note:- Inside my internal network I type in the IP address(192.168.2.3) of my computer in the address bar of a web browser from my laptop, and it opens up this:-


I want that my friends should also get to access this page from their home by using a VPN.

All suggestions are welcomed.

See OpenVPN documentation:

However, WireGuard is easier to set up:

1 Like

Which is more secure OpenVPN or WireGuard ??

They both utilize up-to-date encryption, but WireGuard is faster:
https://www.wireguard.com/performance/#benchmarking