Code Monkey home page Code Monkey logo

networkmanager-vpn-web-ui's Introduction

networkmanager-vpn-web-ui

CircleCI

A web UI for remotely managing NetworkManager-managed VPN connections.

Why?

My target users are people who want to toggle the VPN connections of a remote Linux machine that runs NetworkManager, but aren't comfortable with the terminal. I realise the intersection of that particular Venn diagram is rather small.

I looked at mk-fg/NetworkManager-WiFi-WebUI, a similar project for managing WiFi connections over a web UI. It doesn't manage VPN connections, and I wanted the simplified deployment of Go over Python, so I knocked this together instead of contributing.

You should never expose this server on any untrusted network! It is not even slightly secure. It has no authentication/authorization concepts, and the API performs no validation on inputs.

Installation

Note that to actually manage connections, NetworkManager must have already stored the VPN credentials for the user you run the service as.

From source

go get github.com/craigfurman/networkmanager-vpn-web-ui, or otherwise clone this project into your GOPATH.

To run in dev mode: make run.

To create a distributable archive, make disttar. Untar the resulting tarball somewhere (e.g. /opt), and execute the binary.

Arch Linux

AUR.

Contributing

If this project is useful to you, please feel free to open an issue or pull request. I knocked this together in a few hours, but in the unlikely event that this is useful to others I'm open to cleaning it up.

networkmanager-vpn-web-ui's People

Contributors

craigfurman avatar

Watchers

cloud123 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.