Giter Site home page Giter Site logo

Clients certificates about openvpn-ui HOT 5 CLOSED

linzp007 avatar linzp007 commented on July 24, 2024
Clients certificates

from openvpn-ui.

Comments (5)

d3vilh avatar d3vilh commented on July 24, 2024

Hi @linzp007 thanks for reporting.
Could you tell me which docker image do you use for OpenVPN-UI and OpenVPN setup?

Meanwhile I'll try to reproduce it with latest builds for intel and arm.

from openvpn-ui.

d3vilh avatar d3vilh commented on July 24, 2024

I just rebuild and push amd64 image with all the latest fixes included.
It belongs to tags: 0.2 and latest.

from openvpn-ui.

linzp007 avatar linzp007 commented on July 24, 2024

I tried again with your latest version with amd64 image ,
just motified the username, password in the compose yml
but I got still the same error.

from openvpn-ui.

d3vilh avatar d3vilh commented on July 24, 2024

I just test it on AWS instance with openvpn-aws setup and the same container image and all works fine. You can use this setup on any x86 computer, not necessary AWS.

Following by your log file:

./easyrsa: 341: set: Illegal option -o echo this can be ignored
openvpn | Bad argument 'ovpn_trusted_subnet' it does mean you did not pass ovpn_trusted_subnet var with trusted subnets, so your iptables setup was not complete.

this is how log file for the setup with ssl1.1.1 should looks like:

./easyrsa: 341: set: Illegal option -o echo
Generate HMAC signature...
Create certificate revocation list (CRL)...
Using SSL: openssl OpenSSL 1.1.1  11 Sep 2018
Using configuration from /opt/app/easy-rsa/pki/easy-rsa-158.3daFcl/tmp.jlSGtP
./easyrsa: 341: set: Illegal option -o echo
Configuring networking rules...
net.ipv4.ip_forward = 1
Configuring iptables...
NAT for OpenVPN clients
Blocking ICMP for external clients
Blocking internal home subnet to access from external openvpn clients (Internet still available)
IPT MASQ Chains:
MASQUERADE  all  --  ip-10-0-70-0.ec2.internal/24  anywhere
MASQUERADE  all  --  ip-10-0-71-0.ec2.internal/24  anywhere
IPT FWD Chains:
       0        0 DROP       icmp --  *      *       10.0.71.0/24         0.0.0.0/0            icmptype 8
       0        0 DROP       icmp --  *      *       10.0.71.0/24         0.0.0.0/0            icmptype 0
       0        0 DROP       all  --  *      *       10.0.71.0/24         192.168.88.0/24
Start openvpn process...

try to verify the env vars you pass to container and seems it should work fine.

from openvpn-ui.

d3vilh avatar d3vilh commented on July 24, 2024

OK, seems it was fixed, so Im closing it.

from openvpn-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.