FreeBSD Ports

security/vm-to-tor 1.0

Connect virtual machines to the tor network

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD4CLAUSE
Categories
security, net
Package size
11.9 KiB, 36.9 KiB installed

Description

Service connecting any number of virtual machines to the tor anonymity network.

Install

As a binary package — by origin, or by package name:

pkg install security/vm-to-tor
pkg install vm-to-tor

From the ports tree:

cd /usr/ports/security/vm-to-tor/ && make install clean

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

RUN_DEPENDS=	vm-to-tor>0:security/vm-to-tor

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:latest1.01.01.01.01.0
FreeBSD:14:quarterly1.01.0n/a1.01.0
FreeBSD:15:latest1.01.0n/a1.01.0
FreeBSD:15:quarterly1.01.0n/an/an/a
FreeBSD:16:latest1.01.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

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

All run dependencies 14

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

You installed vm-to-tor: framework that allows to connect virtual
machines to the tor network.

It requires sysctl variable net.link.tap.user_open=1 set in
/etc/sysctl.conf.

To start vm-to-tor manually, you can use this command:
# service vm-to-tor onestart
This will connect an adapter tap0 to tor. Then you need to change
settings of one virtual machine to use tap0 interface (in VirtualBox
you need to set "Bridged Adapter" as a network type and choose tap0
as an adapter name, in bhyve tap0 will just work).

To enable at system startup, you can add one of these lines:
. /usr/local/etc/vm-to-tor.rc.conf.simple
or
. /usr/local/etc/vm-to-tor.rc.conf.complex
to /etc/rc.conf, and modify /usr/local/etc/vm-to-tor.rc.conf.*
according to your needs. Please read there the explanation of
vm-to-tor features.

Before changing configuration, you need to stop vm-to-tor with
# service vm-to-tor {one}stop
After changing configuration, you need to start it again:
# service vm-to-tor start

To see the status of vm-to-tor:
# service vm-to-tor status

To connect to the virtual machine tap1 with ssh:
# ssh 172.16.1.2

To change tor router setting for machine tapN with ctrl protocol:
# vm-ctrl tapN

By design, you can't connect to the host from the virtual machine for
security reasons. Machine is isolated from the host environment, and
is not host-aware. Besides the optional NFS connection, all
communication initiated by the virtual machine happens only through
tor.

Files

distinfo 1
FileSizeSHA256
yurivict-vm-to-tor-1.0_GH0.tar.gz95175c9586f2a7f732872e404cae217fa86e3ddc357dbba3025a5d44a003cdb5f7921

Commit history 0

No commits in the history this site was built from.