This commit is contained in:
Matthias Radestock committed 2014-08-30 11:45:29 +01:00
1 parent 53f06c07a5
commit 86f993a1e8
1 file changed
+2 -1
+2 -1
View File
@@ -205,7 +205,8 @@ requires the following steps on $HOST2...
container service. This needs to be done once for every service we container service. This needs to be done once for every service we
want to expose. want to expose.
host2# iptables -t nat -A PREROUTING -p udp -i eth0 --dport 2211 -j DNAT --to-destination 10.0.1.1:4422 host2# iptables -t nat -A PREROUTING -p udp -i eth0 --dport 2211 -j DNAT \
--to-destination 10.0.1.1:4422
Here we are assuming that the "outside world" is connecting to Here we are assuming that the "outside world" is connecting to
$HOST2 via 'eth0'. We want UDP traffic to port 2211 on the $HOST2 via 'eth0'. We want UDP traffic to port 2211 on the