Question

Want to create VPN with OpenVpn image wiht the port 80

Hi i want to create my own VPN with the OPENVPN image from the marketplace. I have to use the port 80 but when i set the port as default port in starting configuration then my vpn doesnt work whereas when i keep default configuration i.e. the port 1194 it work perfectly. Tks a lot!

Show comments

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
March 4, 2023

Hello @chapristi

OpenVPN Access Server doesn’t redirect HTTP requests by default because it doesn’t come with an HTTP (insecure) web server daemon. That means if your administrators or end users visit your Access Server’s web address using just HTTP, they get a “page not found” response.

The OpenVPN daemons and web services affect each other. By default, OpenVPN Access Server comes configured with OpenVPN daemons listening on UDP port 1194 and TCP port 443. Access Server’s web services also use TCP 443 for the web interfaces.

Hope that this helps!

Bobby Iliev
Site Moderator
Site Moderator badge
March 4, 2023

Hi there,

I believe that the way that the image is configured it will alwasy required HTTPS connection, even if you set the port to be a non-secure port like 80, you would still need to access the admin UI via HTTPS, eg: https://123.45.67.89:80/admin/.

Hope that this helps!

Best,

Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.