
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A tool to create .ovpn (OpenVPN) client config files for use with RiseupVPN. Such files can be imported using, for example, the Debian openvpn NetworkManager plugin. You will then be able to route your network connection through any of Riseup's 20+ VPN gateways! The screenshot below shows Linux Mint's Network Manager panel applet with an active VPN connection to RiseupVPN's Seattle gateway.
This project was inspired by this very excellent web tool.
Install the gem and add to the application's Gemfile by executing:
bundle add riseup_vpn
If bundler is not being used to manage dependencies, install the gem by executing:
gem install riseup_vpn
require 'riseup_vpn'
@manager = RiseupVPN::Manager.new # takes an optional positional arg for the dir path. Default is '~/.config/riseup_vpn'
# => instance_of RiseupVPN::Manager
@manager.ovpns
# => {"vpn01-sea.riseup.net" => "client\ntls-client\ndev tun\nproto udp\nremote 204.13.164.252 1194 ...
@manager.ovpns.size
# => 21
RiseupVPN::Manager::OPTS # returns a list of valid options which maybe passed as an optional hash at initialization.
# => {proto: ["udp", "tcp"]} defaults are the first values e.g. 'udp' for :proto
# For example; RiseupVPN::Manager.new('/some/path', proto: 'tcp')
@manager.write_files # (over)writes the VPN client config files to the dir path
The last command creates (or overwrites) the following files:
Note: The last 2 expire after 30 days and therefore need to be updated regularly.
Also note: OpenVPN requires that cert & key files shared across .ovpn client config files are present in the same directory.
On Linux, you can do this to make Riseup's VPNs available in Network Manager. It uses nmcli
under the hood:
@manager.import_ovpn_configs # writes the files and (re)imports the VPN configs into Network Manager
# the client key and cert files are updated too
I can use Riseup's white-labeled desktop app to access Riseup's VPNs, so why the need?
cron
job can fix this and we are working into incorporating that functionality into this gem.After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Known issues are recorded here.
Bug reports and pull requests are welcome on GitLab at https://gitlab.com/matzfan/riseup_vpn. For a pull request please checkout a suitably named feature branch before making and submitting changes.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that riseup_vpn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.