-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPN not working as responder #437
Comments
Hi, what version of OSW rae you using? Can you post the content of ipsec barf? |
Linux Openswan U2.6.43/K4.14.171-105.231.amzn1.x86_64 (netkey) |
On Wed, 15 Jul 2020, Abobakr_Ahmed wrote:
Linux Openswan U2.6.43/K4.14.171-105.231.amzn1.x86_64 (netkey)
Not sure why a version was asked, other than to punt the problem to "please upgrade".
If you have auto=start and the service starts on startup, check the logs
for a message on why it fails. grep the logs for "pluto".
Paul
|
packet from 6.6.6.6:500: ignoring unknown Vendor ID payload [a9b9b1034f7e50a2513b47b100bb85a9] |
can destination telnet but when initiate traffic by telnet 1.1.1.1 443 |
On Wed, 15 Jul 2020, Abobakr_Ahmed wrote:
packet from 196.43.201.208:500: ignoring unknown Vendor ID payload [a9b9b1034f7e50a2513b47b100bb85a9]
| find_host_connection2 called from main_inI1_outR1, me=4.4.4.4:500 him=6.6.6.6:500 policy=none
This is a responding exchange, so has nothing to do with whether your
connection starts on boot or not ?
Maybe should more logs and clarify the problem. More likely the
connection never works?
Paul
|
How can get more logs ! |
The logs will already be there. Check your system on how it handles logs. Eg via /var/log/secure or journalctl etc....
…Sent from my iPhone
On Jul 15, 2020, at 16:29, Abobakr_Ahmed ***@***.***> wrote:
How can get more logs !
works when I start connection by using telnet cmd but when finished this connection , another destination 6.6.6.6 cannot cannot telnet .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
ike_life: 3600s; ipsec_life: 28800s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0; force_encaps: yes |
002 "my_vpn2/0x3" #42: transition from state STATE_MAIN_I3 to state STATE_MAIN_I4 |
i know this logs is huge but if can help me with any commends , will be appreciate |
So that looks like it came up fine ?
Was this from system startup or a manual ipsec auto —up command ?
there were some fixes in the subnets= vs subnet= code in libreswan so on openswan perhaps first try with one subnet ?
…Sent from my iPhone
On Jul 15, 2020, at 22:06, Abobakr_Ahmed ***@***.***> wrote:
i know this logs is huge but if can help me with any commends , will be appreciate
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
ipsec whack --initiate --name my_vpn2 |
Please help me, there was no response when I entered IPSec auto -- up |
Hello ,
have issue with openswan not working as responder execpt initate traffic that's my configuration :
conn my_vpn2
type=tunnel
authby=secret
auto=start
pfs=no
auth=esp
#Phase1#
ike=aes256-sha1;modp1536
phase2alg=aes256-sha1
aggrmode=no
keyexchange=ike
ikelifetime=86400s
#salifetime=28800s
keylife=3600s
#dpddelay=10
#dpdtimeout=20
#dpdaction=restart
#keyingtries=%forever
forceencaps=yes
left=4.4.4.4
leftsubnet=5.5.5.5/32
leftsourceip=4.4.4.4
right=6.6.6.6
rightsubnets={1.1.1.1/32,2.2.2.2/32,3.3.3.3/32}
The text was updated successfully, but these errors were encountered: