Project

General

Profile

Demande #1022

ouverture du port 8080 dans le VPN

Added by Loïc Dachary about 9 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Immédiate
Assignee:
Category:
Task
Target version:
Start date:
11/14/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Difficulté:
1 Très Facile

Description

Fait sur pavot.april.org & ns1.april.org:

commit 216cc57e01b1e301b12d0dc0c7fdb7b5eaa1dbfa
Author: root <root@april.org>
Date:   Wed Nov 14 11:37:50 2012 +0100

    Open port 8080 in the VPN. The occasion is to expose the port for the jenkins server but it may be useful and

diff --git a/init.d/firewall.sh b/init.d/firewall.sh
index dd70cf4..055bb4e 100755
--- a/init.d/firewall.sh
+++ b/init.d/firewall.sh
@@ -323,6 +323,8 @@ fwstart() {
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p udp --dport 53  -j ACCEPT
        ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 80  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 80  -j ACCEPT
+       ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 8080  -j ACCEPT
+        ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 8080  -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 443  -j ACCEPT
         ${IPT} -I OUTPUT -s $NET_VPN -d $NET_VPN -p tcp --dport 443  -j ACCEPT
         ${IPT} -I INPUT  -s $NET_VPN -d $NET_VPN -p tcp --dport 3306  -j ACCEPT

History

#1

Updated by Quentin Gibeaux over 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF