Giter Club home page Giter Club logo

sa-vpn-softether's Issues

Server is reconfigured every time ansible runs

Every time I run Ansible the VPN server gets reconfigured, and that means new certificate.
New certificate means that all clients need to be reconfigured as well. Is there a way to stop this behaviour? And preferably, reconfigure the server if there were deviations in configuration, but not generate a new certificate?

PATH environment for binary of softether

One option missing for this role is to update PATH environment with {{softether_home}}

personally i have added this small task to do this

- name: "add {{softether_home}} to path"
  lineinfile:
    dest: /etc/profile.d/softether.sh
    state: present
    create: yes
    regexp: '^export PATH'
    line: 'export PATH=$PATH:{{softether_home}}'

the roles is Ubuntu only

due to use of apt module & specifiic command for ubuntu, this roles only work on ubuntu/debian machine

Set a administrator password

Hi,

I have modify the templates/scenarios/create_hub to eventually set a administrator password :

{% if softether_master_password is defined %}
ServerPasswordSet {{softether_master_password}}
{% endif %}

It's working well on the first deployment

But it's failed on next deployment on task "Proceed with setup"
as it's type ./vpncmd localhost /server /IN:{{softether_init_script}}
and it's should be :
./vpncmd localhost /server /IN:{{softether_init_script}} /PASSWORD:{{softether_master_password|default("")}}
( with the |default("") it's also working when it's not set a password

my temporary workarround is to stop the service before deploy
but it's not a fix ...

We can replace then " - name: SoftEther | Proceed with setup"
with

shell: ./vpncmd localhost /server /IN:{{softether_init_script}} /PASSWORD:{{softether_master_password|default("")}}

but it's will failed on the first deployment as it's not yet a password set

So i'm not sure how we can handle it ...
a idea ?

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.