IPsec Uses OpenSwan instead of StrongSwan











up vote
1
down vote

favorite












Good morning guyz.



I have been trying to establish a secure connection via IPsec(StrongSwan) between my PC and my server with help of this tutorial, i installed StrongSwan both on the server and the PC, the IPsec works fine on my PC but it uses OpenSwan instead of StrongSwan



ipsec.old.service - LSB: Start Openswan IPsec at boot time
Loaded: loaded (/etc/init.d/ipsec.old; bad; vendor preset: enabled)
Active: active (exited) since Mi 2018-11-21 10:11:15 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 6228 ExecStart=/etc/init.d/ipsec.old start (code=exited, status=0/SUCCESS)

Nov 21 10:11:15 pc-11226 systemd[1]: Starting LSB: Start Openswan IPsec at boot time...
Nov 21 10:11:15 pc-11226 systemd[1]: Started LSB: Start Openswan IPsec at boot time.


It fails on my server using StrongSwan:



● strongswan.service - strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
Loaded: loaded (/lib/systemd/system/strongswan.service; enabled; vendor preset: enabled
Active: failed (Result: exit-code) since Mon 2018-11-19 12:35:30 UTC; 1 day 20h ago
Main PID: 1926 (code=exited, status=2)

Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'ikelifetime'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'keyingtries'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'left' in conf
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftid' in co
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftsubnet' i
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'lifetime' in
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'right' in con
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'rightsubnet'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: ### 15 parsing errors (15 fatal) ###
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: unable to start strongSwan -- fatal


The IPsec.conf on my server



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
strictcrlpolicy=no
uniqueids=yes
charondebug="all"

# Add connections here.

authby=secret
left=%defaultroute
leftid=192.168.10.243
leftsubnet=255.255.255.0
right=192.168.10.73
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


IPsec.conf on on my PC



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
charondebug="all"
strictcrlpolicy=no
uniqueids=yes

# Add connections here.
conn xfce-to-server
authby=secret
left=%defaultroute
leftid=192.168.10.73
leftsubnet=255.255.255.0
right=192.168.10.243
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


If someone need more information please tell me in the comments.










share|improve this question
























  • As the status output tells you, the config it not properly formatted. See ipsec.conf.
    – ecdsa
    Nov 21 at 12:49















up vote
1
down vote

favorite












Good morning guyz.



I have been trying to establish a secure connection via IPsec(StrongSwan) between my PC and my server with help of this tutorial, i installed StrongSwan both on the server and the PC, the IPsec works fine on my PC but it uses OpenSwan instead of StrongSwan



ipsec.old.service - LSB: Start Openswan IPsec at boot time
Loaded: loaded (/etc/init.d/ipsec.old; bad; vendor preset: enabled)
Active: active (exited) since Mi 2018-11-21 10:11:15 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 6228 ExecStart=/etc/init.d/ipsec.old start (code=exited, status=0/SUCCESS)

Nov 21 10:11:15 pc-11226 systemd[1]: Starting LSB: Start Openswan IPsec at boot time...
Nov 21 10:11:15 pc-11226 systemd[1]: Started LSB: Start Openswan IPsec at boot time.


It fails on my server using StrongSwan:



● strongswan.service - strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
Loaded: loaded (/lib/systemd/system/strongswan.service; enabled; vendor preset: enabled
Active: failed (Result: exit-code) since Mon 2018-11-19 12:35:30 UTC; 1 day 20h ago
Main PID: 1926 (code=exited, status=2)

Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'ikelifetime'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'keyingtries'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'left' in conf
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftid' in co
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftsubnet' i
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'lifetime' in
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'right' in con
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'rightsubnet'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: ### 15 parsing errors (15 fatal) ###
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: unable to start strongSwan -- fatal


The IPsec.conf on my server



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
strictcrlpolicy=no
uniqueids=yes
charondebug="all"

# Add connections here.

authby=secret
left=%defaultroute
leftid=192.168.10.243
leftsubnet=255.255.255.0
right=192.168.10.73
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


IPsec.conf on on my PC



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
charondebug="all"
strictcrlpolicy=no
uniqueids=yes

# Add connections here.
conn xfce-to-server
authby=secret
left=%defaultroute
leftid=192.168.10.73
leftsubnet=255.255.255.0
right=192.168.10.243
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


If someone need more information please tell me in the comments.










share|improve this question
























  • As the status output tells you, the config it not properly formatted. See ipsec.conf.
    – ecdsa
    Nov 21 at 12:49













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Good morning guyz.



I have been trying to establish a secure connection via IPsec(StrongSwan) between my PC and my server with help of this tutorial, i installed StrongSwan both on the server and the PC, the IPsec works fine on my PC but it uses OpenSwan instead of StrongSwan



ipsec.old.service - LSB: Start Openswan IPsec at boot time
Loaded: loaded (/etc/init.d/ipsec.old; bad; vendor preset: enabled)
Active: active (exited) since Mi 2018-11-21 10:11:15 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 6228 ExecStart=/etc/init.d/ipsec.old start (code=exited, status=0/SUCCESS)

Nov 21 10:11:15 pc-11226 systemd[1]: Starting LSB: Start Openswan IPsec at boot time...
Nov 21 10:11:15 pc-11226 systemd[1]: Started LSB: Start Openswan IPsec at boot time.


It fails on my server using StrongSwan:



● strongswan.service - strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
Loaded: loaded (/lib/systemd/system/strongswan.service; enabled; vendor preset: enabled
Active: failed (Result: exit-code) since Mon 2018-11-19 12:35:30 UTC; 1 day 20h ago
Main PID: 1926 (code=exited, status=2)

Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'ikelifetime'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'keyingtries'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'left' in conf
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftid' in co
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftsubnet' i
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'lifetime' in
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'right' in con
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'rightsubnet'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: ### 15 parsing errors (15 fatal) ###
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: unable to start strongSwan -- fatal


The IPsec.conf on my server



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
strictcrlpolicy=no
uniqueids=yes
charondebug="all"

# Add connections here.

authby=secret
left=%defaultroute
leftid=192.168.10.243
leftsubnet=255.255.255.0
right=192.168.10.73
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


IPsec.conf on on my PC



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
charondebug="all"
strictcrlpolicy=no
uniqueids=yes

# Add connections here.
conn xfce-to-server
authby=secret
left=%defaultroute
leftid=192.168.10.73
leftsubnet=255.255.255.0
right=192.168.10.243
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


If someone need more information please tell me in the comments.










share|improve this question















Good morning guyz.



I have been trying to establish a secure connection via IPsec(StrongSwan) between my PC and my server with help of this tutorial, i installed StrongSwan both on the server and the PC, the IPsec works fine on my PC but it uses OpenSwan instead of StrongSwan



ipsec.old.service - LSB: Start Openswan IPsec at boot time
Loaded: loaded (/etc/init.d/ipsec.old; bad; vendor preset: enabled)
Active: active (exited) since Mi 2018-11-21 10:11:15 CET; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 6228 ExecStart=/etc/init.d/ipsec.old start (code=exited, status=0/SUCCESS)

Nov 21 10:11:15 pc-11226 systemd[1]: Starting LSB: Start Openswan IPsec at boot time...
Nov 21 10:11:15 pc-11226 systemd[1]: Started LSB: Start Openswan IPsec at boot time.


It fails on my server using StrongSwan:



● strongswan.service - strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
Loaded: loaded (/lib/systemd/system/strongswan.service; enabled; vendor preset: enabled
Active: failed (Result: exit-code) since Mon 2018-11-19 12:35:30 UTC; 1 day 20h ago
Main PID: 1926 (code=exited, status=2)

Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'ikelifetime'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'keyingtries'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'left' in conf
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftid' in co
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'leftsubnet' i
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'lifetime' in
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'right' in con
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: # unsupported keyword 'rightsubnet'
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: ### 15 parsing errors (15 fatal) ###
Nov 19 12:35:30 testserver-ipsec ipsec_starter[1926]: unable to start strongSwan -- fatal


The IPsec.conf on my server



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
strictcrlpolicy=no
uniqueids=yes
charondebug="all"

# Add connections here.

authby=secret
left=%defaultroute
leftid=192.168.10.243
leftsubnet=255.255.255.0
right=192.168.10.73
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


IPsec.conf on on my PC



# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
charondebug="all"
strictcrlpolicy=no
uniqueids=yes

# Add connections here.
conn xfce-to-server
authby=secret
left=%defaultroute
leftid=192.168.10.73
leftsubnet=255.255.255.0
right=192.168.10.243
rightsubnet=255.255.255.0
ike=aes256-sha2_256-modp1024!
esp=aes256-sha2_256!
keyingtries=0
ikelifetime=1h
lifetime=8h
dpddelay=30
dpdtimeout=120
dpdaction=restart
auto=start


If someone need more information please tell me in the comments.







networking server vpn ipsec






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 9:34

























asked Nov 21 at 9:26









Jan

165




165












  • As the status output tells you, the config it not properly formatted. See ipsec.conf.
    – ecdsa
    Nov 21 at 12:49


















  • As the status output tells you, the config it not properly formatted. See ipsec.conf.
    – ecdsa
    Nov 21 at 12:49
















As the status output tells you, the config it not properly formatted. See ipsec.conf.
– ecdsa
Nov 21 at 12:49




As the status output tells you, the config it not properly formatted. See ipsec.conf.
– ecdsa
Nov 21 at 12:49















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094737%2fipsec-uses-openswan-instead-of-strongswan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094737%2fipsec-uses-openswan-instead-of-strongswan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents