Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.
/ vdeplug_slirp Public archive

A slirp plugin for vdeplug4

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

rd235/vdeplug_slirp

Repository files navigation

THIS VDE PLUGIN IS DEPRECATED

please use its new implementation instead. That new plugin is based on libvdeslirp and on qemu's libslirp. The code of this plugin will no longer be maintained

vdeplug_slirp

This is the libvdeplug plugin module to join slirp networks. It is based on the (old) libslirp library no longer maintained.

This module of libvdeplug4 can be used in any program supporting VDE like vde_plug, kvm, qemu, user-mode-linux and virtualbox.

install vdeplug_slirp

Requirements: vdeplug4 and libslirp.

vdeplug_slirp uses the auto-tools, so the standard procedure to build and install this vdeplug plugin module is the following:

$ autoreconf -if
$ ./configure
$ make
$ sudo make install

usage examples (tutorial)

connect a vxvde network to the Internet using slirp

vde_plug vxvde:// slirp://

connect a tap virtual interface to slirp with port forwarding

  • TCP port 8080 is forwarded to port 80 of 10.0.2.15
  • X-window display 10.0.2.2:0 is forwarded to the local X server.
vde_plug tap://mytap slirp:///tcpfwd=8080:10.0.2.15:80/unixfwd=6000:\"/tmp/.X11-unix/0\"

connect a kvm machine to the Internet using slirp (both v4 and v6)

kvm .... -device e1000,netdev=vde0,mac=52:54:00:00:00:01 -netdev vde,id=vde0,sock="slirp:///v4/v6"

About

A slirp plugin for vdeplug4

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published