[NetworkManager-libreswan/nm-1-0: 51/51] service: avoid setting the default route to the tunnel
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-libreswan/nm-1-0: 51/51] service: avoid setting the default route to the tunnel
- Date: Thu, 4 Oct 2018 14:09:58 +0000 (UTC)
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 file changed, 1 insertion(+)
---
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]