You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "xuanyuanaosheng (via GitHub)" <gi...@apache.org> on 2023/02/23 09:48:33 UTC

[GitHub] [cloudstack] xuanyuanaosheng opened a new issue, #7282: The remote access VPN can not connected

xuanyuanaosheng opened a new issue, #7282:
URL: https://github.com/apache/cloudstack/issues/7282

   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   - VPN
   
   ##### CLOUDSTACK VERSION
   - CloudStack 4.17.2.0 
   
   ##### CONFIGURATION
   Using  a VPC-102, The public address is 10.26.20.64
   
   ![image](https://user-images.githubusercontent.com/4197714/220871224-8ccfe234-66ce-416f-99b0-e375b60b487b.png)
   
   ![image](https://user-images.githubusercontent.com/4197714/220871270-b5b52ac6-5d63-481b-8a06-fdc46bc6d76e.png)
   
   ##### OS / ENVIRONMENT
   OS: oracle linux8
   
   
   ##### SUMMARY
   I use the https://docs.cloudstack.apache.org/en/latest/adminguide/networking/using_remote_access.html#microsoft-windows-8 as a direct.
   
   
   ##### STEPS TO REPRODUCE
   1.  Create remote access VPN
   2.  connect using the windows 10 (https://docs.cloudstack.apache.org/en/latest/adminguide/networking/using_remote_access.html#microsoft-windows-8)
   
   ##### EXPECTED RESULTS
   can connect the remote access VPN
   
   ##### ACTUAL RESULTS
   can not connect remote access VPN
   
   The windows 10 vpn client error is 
   
   ![image](https://user-images.githubusercontent.com/4197714/220872012-e7f7d8aa-f3f8-48d5-a068-1f0d1fc046d0.png)
   
   The cloudstack manager log error is : 
   ```
   2023-02-23 17:26:26,767 DEBUG [c.c.a.ApiServer] (qtp555273695-23:ctx-50335df0 ctx-c4f50adb) (logid:12aebde2) CIDRs from which account 'Acct[86761a89-6cab-11ed-
   b904-69f592fc371d-admin] -- Account {"id": 2, "name": "admin", "uuid": "86761a89-6cab-11ed-b904-69f592fc371d"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-02-23 17:26:26,778 DEBUG [c.c.a.ApiServlet] (qtp555273695-23:ctx-50335df0 ctx-c4f50adb) (logid:12aebde2) ===END===  10.64.94.43 -- GET  jobId=c66ab6d8-74f
   3-42fa-8255-cb855393ce24&command=queryAsyncJobResult&response=json
   2023-02-23 17:26:26,855 DEBUG [c.c.a.ApiServlet] (qtp555273695-14:ctx-0d37275c) (logid:049edc7e) ===START===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a
   8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   2023-02-23 17:26:26,860 DEBUG [c.c.a.ApiServer] (qtp555273695-14:ctx-0d37275c ctx-3386c022) (logid:049edc7e) CIDRs from which account 'Acct[86761a89-6cab-11ed-
   b904-69f592fc371d-admin] -- Account {"id": 2, "name": "admin", "uuid": "86761a89-6cab-11ed-b904-69f592fc371d"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-02-23 17:26:26,863 DEBUG [c.c.a.ApiServlet] (qtp555273695-17:ctx-5439e3ce) (logid:8e9ca2d8) ===START===  10.64.94.43 -- GET  publicipid=7b77a8ca-e989-48e0
   -a4ff-14b1ecee9d25&listAll=true&command=listRemoteAccessVpns&response=json
   2023-02-23 17:26:26,865 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp555273695-14:ctx-0d37275c ctx-3386c022) (logid:049edc7e) Received unknown parameters for command listPublicIpAddresses. Unknown parameters : tab
   2023-02-23 17:26:26,868 DEBUG [c.c.a.ApiServer] (qtp555273695-17:ctx-5439e3ce ctx-4a866503) (logid:8e9ca2d8) CIDRs from which account 'Acct[86761a89-6cab-11ed-b904-69f592fc371d-admin] -- Account {"id": 2, "name": "admin", "uuid": "86761a89-6cab-11ed-b904-69f592fc371d"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-02-23 17:26:26,874 DEBUG [c.c.a.ApiServlet] (qtp555273695-17:ctx-5439e3ce ctx-4a866503) (logid:8e9ca2d8) ===END===  10.64.94.43 -- GET  publicipid=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&listAll=true&command=listRemoteAccessVpns&response=json
   2023-02-23 17:26:26,890 DEBUG [c.c.a.ApiServlet] (qtp555273695-14:ctx-0d37275c ctx-3386c022) (logid:049edc7e) ===END===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   2023-02-23 17:26:26,894 DEBUG [c.c.a.ApiServlet] (qtp555273695-22:ctx-92a83a62) (logid:a5dc90f0) ===START===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   2023-02-23 17:26:26,898 DEBUG [c.c.a.ApiServer] (qtp555273695-22:ctx-92a83a62 ctx-f0f118dd) (logid:a5dc90f0) CIDRs from which account 'Acct[86761a89-6cab-11ed-b904-69f592fc371d-admin] -- Account {"id": 2, "name": "admin", "uuid": "86761a89-6cab-11ed-b904-69f592fc371d"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-02-23 17:26:26,901 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp555273695-22:ctx-92a83a62 ctx-f0f118dd) (logid:a5dc90f0) Received unknown parameters for command listPublicIpAddresses. Unknown parameters : tab
   2023-02-23 17:26:26,918 DEBUG [c.c.a.ApiServlet] (qtp555273695-22:ctx-92a83a62 ctx-f0f118dd) (logid:a5dc90f0) ===END===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   2023-02-23 17:26:26,933 DEBUG [c.c.a.ApiServlet] (qtp555273695-23:ctx-a6b97ac8) (logid:9169a691) ===START===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   2023-02-23 17:26:26,938 DEBUG [c.c.a.ApiServer] (qtp555273695-23:ctx-a6b97ac8 ctx-63aa5551) (logid:9169a691) CIDRs from which account 'Acct[86761a89-6cab-11ed-b904-69f592fc371d-admin] -- Account {"id": 2, "name": "admin", "uuid": "86761a89-6cab-11ed-b904-69f592fc371d"}' is allowed to perform API calls: 0.0.0.0/0,::/0
   2023-02-23 17:26:26,942 WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp555273695-23:ctx-a6b97ac8 ctx-63aa5551) (logid:9169a691) Received unknown parameters for command listPublicIpAddresses. Unknown parameters : tab
   2023-02-23 17:26:26,961 DEBUG [c.c.a.ApiServlet] (qtp555273695-23:ctx-a6b97ac8 ctx-63aa5551) (logid:9169a691) ===END===  10.64.94.43 -- GET  listall=true&tab=vpn&id=7b77a8ca-e989-48e0-a4ff-14b1ecee9d25&allocatedonly=false&page=1&pagesize=20&command=listPublicIpAddresses&response=json
   
   ```
   
   [management-server.log](https://github.com/apache/cloudstack/files/10812245/management-server.log)
   
    Please take a look, Thanks
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The remote access VPN can not connected [cloudstack]

Posted by "iparker88 (via GitHub)" <gi...@apache.org>.
iparker88 commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-2715739426

   I have the same issue. Is there any update?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] kiranchavala commented on issue #7282: The remote access VPN can not connected

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-1441547588

   @xuanyuanaosheng could you please send the router logs /var/log/* 
   
   It could give us the exception on why the vpn connection failed 
   
   The router associated with the network


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The remote access VPN can not connected [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-2732559302

   any error log in the VR ?
   you can check `/var/log/daemon.log`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7282: The remote access VPN can not connected

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-1602309510

   @xuanyuanaosheng is this still an issue for you?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The remote access VPN can not connected [cloudstack]

Posted by "iparker88 (via GitHub)" <gi...@apache.org>.
iparker88 commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-2722674550

   I've only tried with windows. I can try using linux to see if it works but that won't do much good for my use case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The remote access VPN can not connected [cloudstack]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-2732178882

   @iparker88 since 4.17.2 version of cloudstack is EOL 
   
   Could you please try it on a supported version of cloudstack  4.19 and 4.20 .
   
   Where there are lot of fixes related to vpn that went in


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The remote access VPN can not connected [cloudstack]

Posted by "vishesh92 (via GitHub)" <gi...@apache.org>.
vishesh92 commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-2722619997

   @iparker88 Is the issue only with windows or are you able to connect using linux machines?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] xuanyuanaosheng commented on issue #7282: The remote access VPN can not connected

Posted by "xuanyuanaosheng (via GitHub)" <gi...@apache.org>.
xuanyuanaosheng commented on issue #7282:
URL: https://github.com/apache/cloudstack/issues/7282#issuecomment-1442717918

   @kiranchavala 
   The vpc-102 has two virtual route:
   ![image](https://user-images.githubusercontent.com/4197714/221078282-d5bc17b6-9d45-4d8c-98a5-3cec25a3b62d.png)
   
   the r-61-vm log is:
   
   [r-61-VM.tar.gz](https://github.com/apache/cloudstack/files/10820159/r-61-VM.tar.gz)
   
   the r-62-vm log is:
   [r-61-VM.tar.gz](https://github.com/apache/cloudstack/files/10820174/r-61-VM.tar.gz)
   
   Please take a look


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org