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.
networking server vpn ipsec
add a comment |
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.
networking server vpn ipsec
As the status output tells you, the config it not properly formatted. See ipsec.conf.
– ecdsa
Nov 21 at 12:49
add a comment |
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.
networking server vpn ipsec
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
networking server vpn ipsec
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
add a comment |
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
As the status output tells you, the config it not properly formatted. See ipsec.conf.
– ecdsa
Nov 21 at 12:49