[network-manager-libreswan/lr/main-mode: 5/5] service: avoid setting the default route to the tunnel



commit 5c3b558aa26eaf0675f4ae8ea587bf217fc0029c
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Jan 25 16:48:28 2016 +0100

    service: avoid setting the default route to the tunnel

 common/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/common/utils.c b/common/utils.c
index 1af8558..2ef0bb1 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -131,6 +131,7 @@ nm_libreswan_config_write (gint fd,
        write_config_option (fd, " rightxauthserver=yes\n");
        write_config_option (fd, " rightmodecfgserver=yes\n");
        write_config_option (fd, " modecfgpull=yes\n");
+       write_config_option (fd, " rightsubnet=0.0.0.0/0\n");
 
        phase1_alg_str = nm_setting_vpn_get_data_item (s_vpn, NM_LIBRESWAN_IKE);
        if (!phase1_alg_str || !strlen (phase1_alg_str))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]