[network-manager-openswan/nm-1-0] service: avoid setting the default route to the tunnel



commit 68e2cd80c2bc708b9549cb044f9d7e4e6023ae31
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Mon Jan 25 16:46:59 2016 +0100

    service: avoid setting the default route to the tunnel
    
    (cherry picked from commit d942f394bfaa6ecdb9edaee1bcc3ceb4eecc8a85)

 src/nm-openswan-service.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
index 4edd985..f5c6d09 100644
--- a/src/nm-openswan-service.c
+++ b/src/nm-openswan-service.c
@@ -691,6 +691,7 @@ nm_openswan_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_OPENSWAN_IKE);
        if (!phase1_alg_str || !strlen (phase1_alg_str))


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