-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info about openvpn server #3
Comments
What OS are you using (Raspbian, Debian, Ubuntu) and what version (Buster, Bullseye, etc)? Are you launching the container via Portainer Stacks (as shown below), and have you set your environment variables? Please login through a terminal, and post the output of pivpn -d |
OS: Ubuntu 16.04 xenial
|
Looks like the issue is here, based on your debug log:
So PiVPN isn't running, and even if it were the port we need to use for the management interface isn't open. I believe the problem may be your use of 127.0.0.1 instead of 0.0.0.0 for the IP of the host. My recollection is that in a Docker environment, 127.0.0.1 refers to the container, and 0.0.0.0 to the host. It's also possible you're already using port 2080 for something else, but I think my first explanation is more likely. Edit your settings file in the WebUI to match the Management setting shown below and reboot, and of course, make sure that all the other OpenVPN server settings are the way you want them: |
I checked everything and made changes. |
OK, PiVPN is running now and listening on the management port. Is the WebUI showing you status information on the Home page now? OPENVPN VERSION, OPERATING SYSTEM, ARCHITECTURE and the like? |
How do you have your settings page configured in the UI? You may need to use the IP address of your host computer rather than the hostname -- which may or may not resolve depending on your network setup. Hostname is used in this example, but just replace it with the LAN IP of your host: |
Just to clarify I'm talking about the "Management interface address" field. Try using the IP address of the host with a :2080 after. |
While I was tinkering with the code, I found where you can make other changes for me. For example, fix config files and other points related specifically to the openvpn server. |
Out of curiosity, how are you handling reaching your external (public) IP from an OpenVPN client? Do you have a static IP, or are you using a Dynamic DNS service to give you a reliable hostname? |
I have port forwarding configured from the firewall to my openvpn server for client. Server has static IP. |
So in that same Settings page, there's a field for "Server Address (external)". This refers to the IP address you get from your Internet provider, if it's a static address you can use that directly. If not, you're going to want to sign-up with a DDNS service so that you have a hostname you can use that will keep track of an occasionally changing Internet IP address from that ISP. |
In this field I used my external IP from my Internet provider, yes. |
Hello!
In continuation of my question. I made a few changes.
Installed vpn through Pivpn script.
Launched the container according to your instructions from this https://github.com/bnhf/pivpn-tap-web-ui.
But I don't see server version information and information about connected users("Fix your configuration")
May be I can see some log about this problem.
The text was updated successfully, but these errors were encountered: