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


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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel