LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Bind Pluto (StrongSwan) On Specific Interface (http://www.linuxquestions.org/questions/linux-security-4/bind-pluto-strongswan-on-specific-interface-781249/)

zelda32 01-10-2010 10:34 AM

Bind Pluto (StrongSwan) On Specific Interface
 
Hello.

I am using strongswan to set ipsec on my network. It works fine. But, if i run "ipsec start", pluto bind to all interfaces.
I managed to configure pluto to only bind on specific with "ipsec pluto --interface eth1", and then run "ipsec whack --listen". Unfortunately, this method won't read ipsec.conf and strongswan.conf where my SA resides.

Is there anyway that makes strongswan read ipsec.conf and strongswan.conf and make pluto only bind to specific interface ?
I already read the manual and i couldn't find any. The closest thing are the "interfaces" directive which only works if you use KLIPS modules (I use NETKEY).

Thanks :)


All times are GMT -5. The time now is 12:41 AM.