Replies: 1 comment 14 replies
-
Typo |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to set up a test VPN connection to compare it against another VPN but I am getting no peer config found.
Config 1:
conn vpn-test
type=tunnel
auto=start
keyexchange=ikev2
authby=secret
left=188.166.169.90
leftsubnet=10.0.5.1/29
leftid=186.166.169.90
leftfirewall=yes
right=Publicip
rightsubnet=192.168.10.1/29
rightid=10.131.112.99
rightfirewall=yes
ike=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha-modp2048!
esp=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048!
dpdaction=restart
ikelifetime=86400s
lifetime=3600s
dpddelay=20s
dpdtimeout=60s
ipsec.secrets output:
#vpn-test
188.166.169.90 10.131.112.99 : PSK "key"
config2:
conn vpn-test
type=tunnel
auto=start
keyexchange=ikev2
authby=secret
left=**
leftsubnet=192.168.10.1/29
leftid=10.131.112.99
leftfirewall=yes
right=188.166.169.90
rightsubnet=10.0.5.1/29
rightfirewall=yes
ike=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha-modp2048!
esp=aes256-sha512-modp2048,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048!
dpdaction=restart
ikelifetime=86400s
lifetime=3600s
dpddelay=20s
dpdtimeout=60s
ipsec.secrets output:
#vpn-test
publicip 188.166.169.90 : PSK "key"
when I run the below command from config1 server:
I get this:
I was using this website as a reference: https://ruan.dev/blog/2018/02/11/setup-a-site-to-site-ipsec-vpn-with-strongswan-and-preshared-key-authentication
Beta Was this translation helpful? Give feedback.
All reactions