Page MenuHomeSolus

vpnc can not connect to FritzBox VPN
Open, NormalPublic

Description

vpnc can not connect to FritzBox VPN, as the version is too old (you need the commits 467 and 469 (refer to http://www.ip-phone-forum.de/showthread.php?t=260882&p=1930089&viewfull=1#post1930089). Ubuntu 17.04 packages the newest trunk release 530 and if I replace the binaries manually, it connects without problems.
So please update the vpnc version.

Details

Related Objects

@andreasreinhardt is this still relevant for you? Just connected to my Fritz!Box with my patched version.

@der_eismann yes, it is still relevant. Currently, I have just copied the svn version over the packaged binary.

Commit D1582 fixes the issue for me, but that seems to be stuck somehow, not made it into an updated package yet.

DataDrake triaged this task as Normal priority.Oct 16 2018, 4:49 PM
DataDrake added a subscriber: DataDrake.

@der_eismann Can I ask you to take another look at your old patch?

Sure! I asked Josh to upload the source as a tarball to the Solus servers because Ikey wasn't so convinced of using SVN, but he had lots to do and I didn't catch him on IRC.

r3r57 added subscribers: der_eismann, r3r57.EditedJun 26 2019, 6:57 AM

I have similar issues like @andreasreinhardt when connecting to my FritzBox: /usr/bin/vpnc: response was invalid [2]: (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)

To fix the issue, I apply the attached patch (sudo bspatch /usr/bin/vpnc /usr/bin/vpnc-patched vpnc.patch), which changes nat-t-ike-02 to nat-t-ike-03 and fixes some timings [1]. Afterwards vpnc works without problems with my FritzBox VPN.

@der_eismann's D1582 works, too, but was abandoned. So this is more for visibility reasons to quickly patch your vpnc if required.

[1] https://forum.gp2x.de/viewtopic.php?t=11680