* Anyone know if strongswan works with vrf?
@ 2018-06-29 22:10 Ben Greear
2018-06-30 20:24 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2018-06-29 22:10 UTC (permalink / raw)
To: netdev
Hello,
We're trying to create lots of strongswan VPN tunnels on network devices
bound to different VRFs. We are using Fedora-24 on the client side, with a 4.16.15+ kernel
and updated 'ip' package, etc.
So far, no luck getting it to work.
Any idea if this is supported or not?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Anyone know if strongswan works with vrf?
2018-06-29 22:10 Anyone know if strongswan works with vrf? Ben Greear
@ 2018-06-30 20:24 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2018-06-30 20:24 UTC (permalink / raw)
To: Ben Greear, netdev
On 6/29/18 4:10 PM, Ben Greear wrote:
> Hello,
>
> We're trying to create lots of strongswan VPN tunnels on network devices
> bound to different VRFs. We are using Fedora-24 on the client side,
> with a 4.16.15+ kernel
> and updated 'ip' package, etc.
>
> So far, no luck getting it to work.
>
> Any idea if this is supported or not?
Kernel side xfrm code does work; been a couple of years since I tried
it. As I recall strongswan needs an update.
Looking at the 'ip xfrm' based scripts, you need to add 'sel dev ${VRF}'
to the state. eg.,
VRF="sel dev blue"
ip xfrm state add src ${REMIP} dst ${MYIP} \
proto esp spi 0x02122b77 reqid 0 mode tunnel \
replay-window 4 replay-oseq 0x4 \
auth-trunc 'hmac(md5)' 0xd94fcfea65fddf21dc6e0d24a0253508 96 \
enc 'cbc(des3_ede)' 0xfc46c20f8048be9725930ff3fb07ac2a91f0347dffeacf62 \
${VRF}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-30 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-29 22:10 Anyone know if strongswan works with vrf? Ben Greear
2018-06-30 20:24 ` David Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).