[strongSwan] resolv plugin - creating multiple resolv.conf

Sriram sriram.ec at gmail.com
Thu Feb 23 05:50:14 CET 2017


Hi,

In one of the our linux devices, we have two tunnels towards two security
gateways.
like for example

eth0.489(10.0.0.1) ------ 10.201.100.1(secgw1)
eth0.490(10.0.10.1) ------ 10.201.100.2(secgw2)


In strongswan.conf, under plugins sections.
    resolve {
                        file=/etc/resolvtunnel.conf
               }

when both tunnels are established I see that DNS servers pushed by secgw's
are appended in /etc/resolvtunnel.conf.
I want to know If it is possible to generate two resolv.conf files like for
secgw1, /etc/resolvtunnel_secgw1.conf and for secgw2,
/etc/resolvtunnel_secgw2.conf
My apologies if the question sounds lame.

Regards,
Sriram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20170223/472f8644/attachment.html>


More information about the Users mailing list