Project

General

Profile

Issue #3132

command "strongswan"

Added by Sony Arpita Das about 1 month ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Affected version:
5.7.2
Resolution:
No change required

Description

Usually to setup a tunnel one uses the command "ipsec start" and "ipsec up tunnel_name"

How do I install strongswan-5.7.2 so that I can use the command "strongswan start" and "strongswan up tunnel_name" to setup tunnel ??

History

#1 Updated by Noel Kuntze about 1 month ago

  • Status changed from New to Feedback

That is a RHEL thing. On RHEL like distros (Fedora, CentOS, RHEL), the ipsec script was renamed strongswan. You'd need to do that on your installations manually, if you want that. It's not a feature or anything done by strongSwan or its source code.

#2 Updated by Sony Arpita Das about 1 month ago

Hi Noel,
Thanks for the info.
Can you let me know how to manually change the script to reflect strongswan ??

#3 Updated by Noel Kuntze about 1 month ago

I think you only need to change the file name. But you better double check what's in the CentOS package sources for strongSwan.

#4 Updated by Sony Arpita Das about 1 month ago

I downloaded strongswan-5.7.2 from strongswan.org onto a RHEL7.6 machine.
Which particular file should I modify ??

#5 Updated by Noel Kuntze about 1 month ago

As I wrote, please check what patch the CentOS people use.

#6 Updated by Sony Arpita Das 30 days ago

For the benefit of the others -

[root@host ~]# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
[root@host ~]# rpm -ivh epel-release-latest-7.noarch.rpm
[root@host ~]# yum search strongswan
[root@host ~]# strongswan version
Linux strongSwan U5.7.2/K4.19.46
University of Applied Sciences Rapperswil, Switzerland
See 'strongswan --copyright' for copyright information

Please go ahead and close this issue

#7 Updated by Tobias Brunner 13 days ago

  • Category set to build
  • Status changed from Feedback to Closed
  • Assignee set to Noel Kuntze
  • Resolution set to No change required

It's not a feature or anything done by strongSwan or its source code.

Actually, you can use --with-ipsec-script to change the name of the script (changes some other files too, like the legacy systemd unit, the command for leftfirewall or the man pages).

Also available in: Atom PDF