From users-return-264037-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Mar 2 16:43:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0B6CF18062F for ; Fri, 2 Mar 2018 16:43:28 +0100 (CET) Received: (qmail 53823 invoked by uid 500); 2 Mar 2018 15:43:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 53812 invoked by uid 99); 2 Mar 2018 15:43:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 15:43:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 895AEC1E28 for ; Fri, 2 Mar 2018 15:43:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.489 X-Spam-Level: X-Spam-Status: No, score=0.489 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Y2q3q-JbyJM6 for ; Fri, 2 Mar 2018 15:43:25 +0000 (UTC) Received: from mx3.philasd.org (mx3.philasd.org [170.235.1.166]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1298A5F3BA for ; Fri, 2 Mar 2018 15:43:24 +0000 (UTC) IronPort-PHdr: =?us-ascii?q?9a23=3AVAcgIBI/s1gPFl77BNmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgfLvzxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ou?= =?us-ascii?q?JSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgpp?= =?us-ascii?q?POT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+?= =?us-ascii?q?RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLd?= =?us-ascii?q?QgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QKsqUjq+8ahkVB7oiD?= =?us-ascii?q?8GNzEn9mHXltdwh79frB64uhBz35LYbISTOfFjfK3SYMkaSHJBUMhPWSxOAJ6y?= =?us-ascii?q?YYUMAeUOIelWqI7zp0cPrRWxHgSsGPrvyjBUinPowaE30eIsGhzG0gw6GNIOtW?= =?us-ascii?q?zZoNvrOacST++1yLXIwivFb/NWwzj97ZDEeQ0/rPGMR7JwcNHRxUcyHA7Cklqf?= =?us-ascii?q?tYzlMC2R1uQRrWeb6epgWviqi2I+tQ5wrSSvy9w0ionJh4IVzkrL9T5kz4ovIt?= =?us-ascii?q?24UkF7bMeiHZBNuS+aMI52TdkjQ2FuoCs216EKtYS1cSQU0pgqyQDTZ+aZf4WG?= =?us-ascii?q?/h7uUvuaLzRghH99Zb6yhQq+/VK+xuDyVsS4yktGojBbntXQq3wBzwHf58qbRv?= =?us-ascii?q?dn4Eus1zaC2xrO5u1ePEw5kbfXJ4Y8zrMyipYfq1rPEyH2lUnskaOabFso9vam?= =?us-ascii?q?5unhf77ovIWTN5VuhQH7Kqkun8u/DvkmPQUWRGib/Pi81KXk/U3kXLVGlv02nb?= =?us-ascii?q?fdsJDdPckbo7K5DBVJ3osi8Rq/Fzem0NUcnXYdN1JKZQiLj4/zO1HBOPz4DPG/?= =?us-ascii?q?jEqwkDpz2vzLPKHtDo/TInXNkLrtZ6tx51RCxAYv0NxT/5dUBasAIPL3VE/xrt?= =?us-ascii?q?vYDhohPgOo3+nnCMty1ocCWW2RBK+ZMLndsVqR6u0xLOiMeJQYuC79K/gk4/7h?= =?us-ascii?q?l2Q5lkIHcamux5sXZ2i0Hu56LEWBfXrsntABHH8XvgolUuPqkkaCXCVPZ3a1Wq?= =?us-ascii?q?Iz+is0CJ68AYjZXoCimqCO3CelEZFMYWBGEF+MQj/UcNDOZ/AJYyuOavJ6nyYf?= =?us-ascii?q?HZygUJNrnUWzrwLg0JJ7Ke/f8zFevIrq39h4oerJmkdh2yZzCpHX+GGAS315mG?= =?us-ascii?q?MBQnt+96BloFc3ggOI2qh1h+BVE9xa4rZEQhsSLZ7dy+VhB5b1QA2XLYTBc0qv?= =?us-ascii?q?XtjzWWJ5ddk22dJbJh8lQ9g=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EsAQDqb5lajMkB66paAxoBAQEBAQIBA?= =?us-ascii?q?QEBCAEBAQGENnAoCoNKixeNBYICgRaRYYRhKYQuYwKCYSE4FAECAQEBAQEBAgE?= =?us-ascii?q?CEAEBASZWgjgkASpcAQEBAQEBAQEBAQEBSTE7AQEBAwEIAhkFJDIHAQMCAQgRB?= =?us-ascii?q?AEBAwIjAwICGS0JCAIEEwsFhQMDBQWpU4FvOIQGhFyCJgWBD4QdgimBWIQcdoV?= =?us-ascii?q?CJoJEgmIEiBiGVEaLLAMGAoZQmSOOPYREAjUggVR9QoJDP4ICgiVZAYsuAYEXA?= =?us-ascii?q?QEB?= X-IPAS-Result: =?us-ascii?q?A2EsAQDqb5lajMkB66paAxoBAQEBAQIBAQEBCAEBAQGENnA?= =?us-ascii?q?oCoNKixeNBYICgRaRYYRhKYQuYwKCYSE4FAECAQEBAQEBAgECEAEBASZWgjgkA?= =?us-ascii?q?SpcAQEBAQEBAQEBAQEBSTE7AQEBAwEIAhkFJDIHAQMCAQgRBAEBAwIjAwICGS0?= =?us-ascii?q?JCAIEEwsFhQMDBQWpU4FvOIQGhFyCJgWBD4QdgimBWIQcdoVCJoJEgmIEiBiGV?= =?us-ascii?q?EaLLAMGAoZQmSOOPYREAjUggVR9QoJDP4ICgiVZAYsuAYEXAQEB?= X-IronPort-AV: E=Sophos;i="5.47,412,1515474000"; d="scan'208";a="32561326" Received: from mta06.philasd.org ([170.235.1.201]) by mx3.philasd.org with ESMTP; 02 Mar 2018 10:32:18 -0500 Received: from mta06.philasd.org (localhost [127.0.0.1]) by mta06.philasd.org (Postfix) with ESMTPS id 293A62102B for ; Fri, 2 Mar 2018 10:43:24 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mta06.philasd.org (Postfix) with ESMTP id 196F620F6A for ; Fri, 2 Mar 2018 10:43:24 -0500 (EST) X-Virus-Scanned: amavisd-new at mta06.philasd.org Received: from mta06.philasd.org ([127.0.0.1]) by localhost (mta06.philasd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YNeQP08aquEe for ; Fri, 2 Mar 2018 10:43:24 -0500 (EST) Received: from mail02.philasd.org (unknown [170.235.1.223]) by mta06.philasd.org (Postfix) with ESMTP id 047CD2000E for ; Fri, 2 Mar 2018 10:43:24 -0500 (EST) From: "Cheltenham, Chris" To: "Tomcat Users List" References: <004101d3b22f$eebfca70$cc3f5f50$@philasd.org> In-Reply-To: Subject: RE: tomcat 8.5.28 Thread-Topic: tomcat 8.5.28 Date: Fri, 2 Mar 2018 10:43:24 -0500 (EST) Message-ID: <006301d3b23d$32d40020$987c0060$@philasd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: Microsoft Outlook 16.0 X-Mailer: Zimbra 8.6.0_GA_1194 (Zimbra-ZCO/8.7.1.1661 (10.0.10586 en-US) P2a0 T540 R693) Thread-Index: AQL4oNlx3YuuuK+Lv3XM6/x/Yo+i2wCSSwP5oW6l+DA= Content-Language: en-us X-Originating-IP: [170.235.1.191] Content-Transfer-Encoding: quoted-printable Thanks My friend , I have tried that without success. [root@cjc logs]# iptables -t nat -I PREROUTING -p tcp --dport 443 -j=20 REDIRECT --to-port 8443 [root@cjc logs]# curl -k https://10.32.32.230 curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc logs]# service iptables save iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] [root@cjc logs]# curl -k https://10.32.32.230 curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc logs]# curl -k https://10.32.32.230:443 curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc logs]# =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Thank You; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 -----Original Message----- From: Johan Compagner [mailto:jcompagner@servoy.com] Sent: Friday, March 2, 2018 10:23 AM To: Tomcat Users List Subject: Re: tomcat 8.5.28 sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-por= t 8080 sudo iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-po= rt 8443 then you can save the iptables so they stick after reboot: sudo service iptables save On 2 March 2018 at 15:08, Cheltenham, Chris wrote: > Hello, > > > > Has anyone set up tomcat as a non-root use? > > > > I have set it up successfully however, I have to bound the non-root > user to port 8443. > > > > What is the best way to reroute 8443 through 443? > > There are several options. > > Everything is set up at send to port 443 so I need to reroute 8443 in > and out of 443 > > > > CentOS 7 by the way =E2=80=93 > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > Thank You; > > Chris Cheltenham > Technology Services > The School District of Philadelphia > > Work # 215-400-5025 > Cell # 215-301-6571 > -- Johan Compagner Servoy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org