From 6d0b55c272ea31d025e8b3c311cea8cda0bfefd7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Jan 2015 13:51:51 +0100 Subject: nspawn: add new option "--port=" for exposing container ports on the local host This exposes an IP port on the container as local port using DNAT. --- man/systemd-nspawn.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'man') diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index fa0680ffcd..7d67472ff8 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -442,6 +442,32 @@ of ve-. + + + + + If private networking + is enabled, maps an IP port on the + host onto an IP port on the + container. Takes a protocol specifier + (either tcp or + udp), separated by + a colon from a host port number in the + range 1 to 65535, separated by a colon + from a container port number in the + range from 1 to 65535. The protocol + specifier and its separating colon may + be omitted, in which case + tcp is assumed. + The container port number and its + colon may be ommitted, in which case + the same port as the host port is + implied. This option is only supported + if private networking is used, such as + or + . + + -- cgit v1.2.3-54-g00ecf