Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4578410A46 for ; Fri, 16 Aug 2013 14:00:50 +0000 (UTC) Received: (qmail 98022 invoked by uid 500); 16 Aug 2013 14:00:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 97879 invoked by uid 500); 16 Aug 2013 14:00:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 97872 invoked by uid 500); 16 Aug 2013 14:00:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 97868 invoked by uid 99); 16 Aug 2013 14:00:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2013 14:00:49 +0000 Date: Fri, 16 Aug 2013 14:00:49 +0000 (UTC) From: "sadhu suresh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4373) vpn:fai to connect to vpnserver after restartnetwork with cleanup option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh updated CLOUDSTACK-4373: ------------------------------------- Attachment: management-server.rar management log > vpn:fai to connect to vpnserver after restartnetwork with cleanup option > ------------------------------------------------------------------------ > > Key: CLOUDSTACK-4373 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4373 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0 > Reporter: sadhu suresh > Attachments: management-server.rar > > > 1. create an account > 2.deploy a vm, and on sourcenat IP,enable the VPN > 3.once its enabled,create a VPN user > 4.try to connect to vpnserver with yuser and security key form windows client > 5.once its successful,try to restart the network with cleanup true > actual result: > fail to connect to vpn server and error message remote device port closed. > when we restart network without cleanup option its successfully connected but when we restart with cleanup option its fail to connect. > mysql> select * from firewall_rules where ip_address_id =15\g; > +----+--------------------------------------+---------------+------------+----------+--------+----------+----------+------------+-----------+------------+--------------------------------------+---------------------+-----------+-----------+---------+------+--------+--------------+ > | id | uuid | ip_address_id | start_port | end_port | state | protocol | purpose | account_id | domain_id | network_id | xid | created | icmp_code | icmp_type | related | type | vpc_id | traffic_type | > +----+--------------------------------------+---------------+------------+----------+--------+----------+----------+------------+-----------+------------+--------------------------------------+---------------------+-----------+-----------+---------+------+--------+--------------+ > | 34 | a122e338-a3b4-4d08-8668-2e9a1496236e | 15 | 500 | 500 | Staged | udp | Vpn | 5 | 1 | 223 | 434398d4-ca2c-41a7-b865-5b620c7070db | 2013-08-16 18:21:20 | NULL | NULL | NULL | User | NULL | NULL | > | 35 | 41d840b7-90c4-47ee-b358-2ca5a6704feb | 15 | 500 | 500 | Active | udp | Firewall | 5 | 1 | 223 | f3e45c33-359e-4f79-a1c0-e7e5c692319a | 2013-08-16 18:21:20 | NULL | NULL | 34 | User | NULL | Ingress | > | 36 | dc67ab3e-8219-4a8a-85d0-65dd875e9a7f | 15 | 1701 | 1701 | Staged | udp | Vpn | 5 | 1 | 223 | 32ac790e-29fc-4bd3-9b61-7b2a741e261e | 2013-08-16 18:21:20 | NULL | NULL | NULL | User | NULL | NULL | > | 37 | c6776d99-e2d3-4705-8aba-1ca4e958d48b | 15 | 1701 | 1701 | Active | udp | Firewall | 5 | 1 | 223 | 6fe74eb0-640d-43cc-ac7e-82ba49229f7d | 2013-08-16 18:21:20 | NULL | NULL | 36 | User | NULL | Ingress | > | 38 | 9f6da5e1-82d8-45b2-bcf1-650bf35d4727 | 15 | 4500 | 4500 | Staged | udp | Vpn | 5 | 1 | 223 | fcfe6392-8ee7-4f8f-aa6b-f9091c84cf66 | 2013-08-16 18:21:20 | NULL | NULL | NULL | User | NULL | NULL | > | 39 | eedd2298-d52a-407b-91bd-d8c54ed2b2c5 | 15 | 4500 | 4500 | Active | udp | Firewall | 5 | 1 | 223 | 61f87e78-e24b-4865-b7a4-758398176f53 | 2013-08-16 18:21:20 | NULL | NULL | 38 | User | NULL | Ingress | > +----+--------------------------------------+---------------+------------+----------+--------+----------+----------+------------+-----------+------------+--------------------------------------+---------------------+-----------+-----------+---------+------+--------+--------------+ > 6 rows in set (0.00 sec) > mysql> select * from vpn_users; > +----+--------------------------------------+----------+-----------+----------+--------------------------+--------+ > | id | uuid | owner_id | domain_id | username | password | state | > +----+--------------------------------------+----------+-----------+----------+--------------------------+--------+ > | 2 | 2e27aa46-16a9-4097-835d-b85fc870f1ed | 2 | 1 | sadhu | opdA+miUfegu7w28oG3eTg== | Active | > | 3 | 0192ef10-5982-47fb-bd60-d7a952da84ae | 2 | 1 | abc | tVtieFgprl/etfV3YyKfqQ== | Active | > | 5 | 88fa78b0-c134-49cb-9478-25216fb171d7 | 2 | 1 | vvv | RiaD8MfY5tMWzgsaiLi7mQ== | Active | > | 6 | 1dd5cb6f-0809-4d15-a2b3-6a221c440869 | 5 | 1 | lll | KGAvGkMHelK+opY+sRCAdQ== | Active | > +----+--------------------------------------+----------+-----------+----------+--------------------------+--------+ > 4 rows in set (0.00 sec) > mysql> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira