From 1c39c862f4c65c54c4a1cd9a91faf99cabed1fea Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Tue, 12 Jan 2016 10:01:12 -0500 Subject: [PATCH] open firewall port 7682 on LVS nodes for websockets --- templates/apache2/websockets/envvars | 5 ----- templates/lvs/iptables-rules.fw | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 templates/apache2/websockets/envvars diff --git a/templates/apache2/websockets/envvars b/templates/apache2/websockets/envvars deleted file mode 100644 index 97c2695..0000000 --- a/templates/apache2/websockets/envvars +++ /dev/null @@ -1,5 +0,0 @@ -export OSRF_WEBSOCKET_IDLE_TIMEOUT=120 -export OSRF_WEBSOCKET_IDLE_CHECK_INTERVAL=5 -export OSRF_WEBSOCKET_CONFIG_FILE=/openils/conf/opensrf_core.xml -export OSRF_WEBSOCKET_CONFIG_CTXT=gateway -export OSRF_WEBSOCKET_MAX_REQUEST_WAIT_TIME=600 diff --git a/templates/lvs/iptables-rules.fw b/templates/lvs/iptables-rules.fw index 8d2893e..ca25b5f 100755 --- a/templates/lvs/iptables-rules.fw +++ b/templates/lvs/iptables-rules.fw @@ -108,6 +108,9 @@ $IPT -A INPUT -p udp --source-port 123 -j ACCEPT $IPT -A INPUT -p tcp --destination-port 22 -j ACCEPT # $IPT -A INPUT -p tcp --destination-port 3399 -j ACCEPT #- non standard ssh port +### Accept port for Apache2 Websockets +$IPT -A INPUT -p tcp --destination-port 7682 -j ACCEPT + ######### END RULES ####### -- 2.11.0