Giter VIP home page Giter VIP logo

ansible-dante's Introduction

dante

Build Status

Role for Dante installation and configuration.

Usage (example)

    - role: dante

Although, it will use the default configuration, which could not suit the target environment (e.g. protocols and interfaces). Usage example with custom parameters:

    - role: dante
      dante_internal:
        - '0.0.0.0 port = 1080'
        - ':: port = 1080'
      dante_internal_protocol:
        - ipv4
        - ipv6
      dante_external:
        - eth0
      dante_external_protocol:
        - ipv4
        - ipv6
      dante_socksmethod: 'pam.username none'
      dante_clientmethod: 'none'
      dante_pam_auth:
        user: 'some_username'
        password: 'password123'
      dante_access_rules:
        - { name: test,
            mode: block,
            from: '192.0.2.22/24',
            to: '0.0.0.0/0',
            log: 'error'
        }
      dante_command_rules:
        - { comment: test,
            action: block,
            socksmethod: none,
            from: '0.0.0.0/0',
            to: 'www.example.org',
            command: 'bind connect udpassociate',
            protocol: tcp udp,
            log: 'error'
        }

Available parameters

Main

Param Default Description
dante_setup full Setup mode. See OSSHelp KB article
dante_internal see defaults Array to describe where daemon should listen on.
dante_internal_protocol [ipv4, ipv6] Array, describing which protocols should be used for incoming traffic.
dante_external [eth0] Array, describing which interfaces should be used for outgoing traffic.
dante_external_protocol [ipv4, ipv6] Array, describing which protocols should be used for outgoing traffic.
dante_socksmethod - Sets socks authentication method, see the docs
dante_clientmethod - Sets client authentication method, see the docs
dante_access_rules - Array for setting client access rules, see the docs and example above.
dante_command_rules - Array for setting command rules, see the docs and example above.
systemd_unit_override - Options for enable systemd unit override for dante (false by default).
dante_pam_auth.user, dante_pam_auth.password - Username and password for PAM Authentication

FAQ

None, so far.

Useful links

TODO

  • add focal support

License

GPL3

Author

OSSHelp Team, see https://oss.help

ansible-dante's People

Watchers

 avatar  avatar

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.