BSD Ports

security/dsvpn 0.1.4 FreeBSD

Dead Simple VPN

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
security, net, net-vpn
Package size
13.2 KiB, 29.7 KiB installed

Description

DSVPN is a Dead Simple VPN, designed to address the most common use case for using a VPN with a shared key. It works in 'server' or 'client' mode using TCP.

In the other systems

SystemPortVersion
FreeBSDsecurity/dsvpn0.1.4
OpenBSDnet/dsvpn0.1.5
DragonFlysecurity/dsvpn0.1.4

Install

Binary package:

pkg install dsvpn

From the ports tree:

cd /usr/ports/security/dsvpn/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	dsvpn>0:security/dsvpn

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.40.1.40.1.40.1.40.1.4
FreeBSD:14:quarterly0.1.40.1.4n/a0.1.40.1.4
FreeBSD:15:latest0.1.40.1.4n/a0.1.40.1.4
FreeBSD:15:quarterly0.1.40.1.4n/an/an/a
FreeBSD:16:latest0.1.40.1.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
dsvpn

Message after installing

DSVPN uses a shared secret. Create it with the following command:

  # dd if=/dev/urandom of=/usr/local/etc/dsvpn.key count=1 bs=2048

Example usage on the server (defaults to listen on 443/TCP):

  # sysrc dsvpn_enable=YES
  # service dsvpn start

Example usage on the client (i.e. server's IP is 10.20.30.40):

  # sysrc dsvpn_enable=YES
  # sysrc dsvpn_remote=10.20.30.40
  # service dsvpn start

Remember to retrieve the shared key from the server before starting it.

If you were previously using a DNS resolver only accessible from the
local network, it won't be accessible through the VPN. That might be
the only thing you may have to change. Use a public resolver, a local
resolver, or DNSCrypt.

The default network created by DSVPN is 192.168.192.0/24.

Files

distinfo 1
FileSizeSHA256
jedisct1-dsvpn-0.1.4_GH0.tar.gz23386b98604e1ca2ffa7a909bf07ca7cf0597e3baa73c116fbd257f93a4249ac9c0c5

Commit history 0

No commits in the history this site was built from.