From: garciadeblas Date: Thu, 20 Oct 2016 08:38:26 +0000 (+0200) Subject: Change in nat_osm to support port 8008 X-Git-Tag: v1.0.1~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F550%2F1;p=osm%2Fdevops.git Change in nat_osm to support port 8008 Change-Id: I66989bde4ad1c87f24b8e0b1bc81354e33171807 Signed-off-by: garciadeblas --- 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"