From b5f47d33fa472f62e175dcdc1657940c74a1fe5f Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 20 Oct 2016 10:38:26 +0200 Subject: [PATCH] Change in nat_osm to support port 8008 Change-Id: I66989bde4ad1c87f24b8e0b1bc81354e33171807 Signed-off-by: garciadeblas --- installers/nat_osm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installers/nat_osm b/installers/nat_osm index c0aac904..d0bd783e 100755 --- a/installers/nat_osm +++ b/installers/nat_osm @@ -108,6 +108,7 @@ osmpre==1 && /#End autogeneration by nat_osm/ { print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8000 -j DNAT --to-destination "rift_ip print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 4567 -j DNAT --to-destination "rift_ip print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8443 -j DNAT --to-destination "rift_ip + print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8008 -j DNAT --to-destination "rift_ip #print "-A PREROUTING -d "VCA_IP" -p tcp -m tcp --dport 443 -j DNAT --to-destination "juju_ip #print "-A PREROUTING -d "VCA_IP" -p tcp -m tcp --dport 17070 -j DNAT --to-destination "juju_ip print "#End autogeneration by nat_osm" @@ -124,6 +125,7 @@ innatpre==1 && /\:INPUT/ { print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8000 -j DNAT --to-destination "rift_ip print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 4567 -j DNAT --to-destination "rift_ip print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8443 -j DNAT --to-destination "rift_ip + print "-A PREROUTING -d "UI_IP" -p tcp -m tcp --dport 8008 -j DNAT --to-destination "rift_ip #print "-A PREROUTING -d "VCA_IP" -p tcp -m tcp --dport 443 -j DNAT --to-destination "juju_ip #print "-A PREROUTING -d "VCA_IP" -p tcp -m tcp --dport 17070 -j DNAT --to-destination "juju_ip print "#End autogeneration by nat_osm" -- 2.25.1