streambinder / vpnc

IPsec (Cisco/Juniper) VPN concentrator client
https://davidepucci.it/doc/vpnc
GNU General Public License v2.0
37 stars 20 forks source link

Ipsec VPN connection fails with message "vpnc: xauth SET message rejected: (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)" #22

Closed rminkler closed 3 years ago

rminkler commented 3 years ago

Hello!

My company uses a watchguard firebox T30 VPN. We use a pre-shared key, so my vpn configuration looks like:

# example vpnc configuration file
# see vpnc --long-help for details

Interface name tun0 
#IKE DH Group dh2
Perfect Forward Secrecy nopfs

# You may replace this script with something better
#Script /etc/vpnc/vpnc-script
# Enable this option for NAT traversal
#UDP Encapsulate

IPSec gateway 11.22.33.44
IPSec ID ipsec_default
IPSec secret shared_secret
Xauth username myusername
Xauth password mypassword

When I try to run vpnc I get the following error:

[username@machine]$ sudo vpnc vpn.conf
[sudo] password for rminkler: 
vpnc: xauth SET message rejected:  (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)

I use the VPN with this configuration from iOS and OS X without issue.

Any ideas? Is there any other info that would be useful?

Thank you,

rminkler

streambinder commented 3 years ago

Hi! No tip to give you about that, here. Currently not using vpnc anymore. Sorry about that.

rminkler commented 3 years ago

Ok, thanks for getting back to me. I resolved my issue by switching to openVPN.

On Mon, Aug 9 2021 at 01:09:19 AM -0700, Davide Pucci @.***> wrote:

Hi! No tip to give you about that, here. Currently not using vpnc anymore. Sorry about that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/streambinder/vpnc/issues/22#issuecomment-895030483, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEVIRPL6LFZAOK2SFARCLTT36EK7ANCNFSM5BNT2VUQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.