[strongSwan] Possible to disable VPN banner?

Andreas Steffen andreas.steffen at strongswan.org
Fri Sep 10 16:50:02 CEST 2010

Create a SQLite database with

  cat tables.sql sqlite3 /etc/ipsec.d/ipsec.db

with the database scheme from


Enable the attr-sql plugin with ./configure --enable-attr-sql ..

and add the path to the database to your /etc/strongswan.conf file:

libhydra {
  plugins {
    attr-sql {
      database = sqlite:///etc/ipsec.d/ipsec.db

Then add an alternative or empty banner with the command

  ipsec pool --addattr banner --string "<new banner>"

As an alternative you could change the default banner text in the
source code:


and recompile strongSwan.



On 10.09.2010 16:36, Kalaj wrote:
> How can I disable VPN banner when I connected? Possible?
> Thanks.
> Bests,
> -Kalaj

Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)

More information about the Users mailing list