[Openswan Users] Determing connection name

Jesse N Perez perezje at us.ibm.com
Wed May 27 20:40:06 EDT 2015


I'm looking for a way to determine the connection name that I can use in a
call to "ipsec auto --route <conn-name>" for a gateway.conf using
"right=%any"

When I do a "ipsec auto --status | grep 10.107.76.160" I get...
000 "gateway-conn"[4682]: 10.60.87.6<10.60.87.6>[+S=C]...10.107.76.160
[+S=C]; unrouted; eroute owner: #0
000 #34977: "gateway-conn"[4682] 10.107.76.160:500 STATE_MAIN_R2 (sent MR2,
expecting MI3); EVENT_RETRANSMIT in 19s; lastdpd=-1s(seq in:0 out:0); idle;
import:not set

and see its unrouted. Note the conn-name is shown as gateway-conn[4682]
where 4682 is the index number pluto must have chosen for this connection.

So if I want to route this connection using  "ipsec auto --route
<conn-name>" how can I find the connection name?

Thanks,

Jesse N. Perez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20150527/15f7002a/attachment.html>


More information about the Users mailing list