Skip to content

Commit ee52d04

Browse files
authored
fix(mwan3): remove bad default configuration (#986)
An update machine with only a WAN interface, creates an invalid configuration file that is preventing access to Internet #985
1 parent e6d4f69 commit ee52d04

File tree

3 files changed

+2
-264
lines changed

3 files changed

+2
-264
lines changed

packages/mwan3/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=mwan3
11-
PKG_VERSION:=2.11.16
11+
# version 2.11.17 is from Nethesis: it clears the mwan3 config
12+
PKG_VERSION:=2.11.17
1213
PKG_RELEASE:=6
1314
PKG_MAINTAINER:=Florian Eckert <[email protected]>, \
1415
Aaron Goodman <[email protected]>

packages/mwan3/files/etc/config/mwan3

Lines changed: 0 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -3,131 +3,3 @@
33

44
config globals 'globals'
55
option mmx_mask '0x3F00'
6-
7-
config interface 'wan'
8-
option enabled '1'
9-
list track_ip '1.0.0.1'
10-
list track_ip '1.1.1.1'
11-
list track_ip '208.67.222.222'
12-
list track_ip '208.67.220.220'
13-
option family 'ipv4'
14-
option reliability '2'
15-
16-
config interface 'wan6'
17-
option enabled '0'
18-
list track_ip '2606:4700:4700::1001'
19-
list track_ip '2606:4700:4700::1111'
20-
list track_ip '2620:0:ccd::2'
21-
list track_ip '2620:0:ccc::2'
22-
option family 'ipv6'
23-
option reliability '2'
24-
25-
config interface 'wanb'
26-
option enabled '0'
27-
list track_ip '1.0.0.1'
28-
list track_ip '1.1.1.1'
29-
list track_ip '208.67.222.222'
30-
list track_ip '208.67.220.220'
31-
option family 'ipv4'
32-
option reliability '1'
33-
34-
config interface 'wanb6'
35-
option enabled '0'
36-
list track_ip '2606:4700:4700::1001'
37-
list track_ip '2606:4700:4700::1111'
38-
list track_ip '2620:0:ccd::2'
39-
list track_ip '2620:0:ccc::2'
40-
option family 'ipv6'
41-
option reliability '1'
42-
43-
config member 'wan_m1_w3'
44-
option interface 'wan'
45-
option metric '1'
46-
option weight '3'
47-
48-
config member 'wan_m2_w3'
49-
option interface 'wan'
50-
option metric '2'
51-
option weight '3'
52-
53-
config member 'wanb_m1_w2'
54-
option interface 'wanb'
55-
option metric '1'
56-
option weight '2'
57-
58-
config member 'wanb_m1_w3'
59-
option interface 'wanb'
60-
option metric '1'
61-
option weight '3'
62-
63-
config member 'wanb_m2_w2'
64-
option interface 'wanb'
65-
option metric '2'
66-
option weight '2'
67-
68-
config member 'wan6_m1_w3'
69-
option interface 'wan6'
70-
option metric '1'
71-
option weight '3'
72-
73-
config member 'wan6_m2_w3'
74-
option interface 'wan6'
75-
option metric '2'
76-
option weight '3'
77-
78-
config member 'wanb6_m1_w2'
79-
option interface 'wanb6'
80-
option metric '1'
81-
option weight '2'
82-
83-
config member 'wanb6_m1_w3'
84-
option interface 'wanb6'
85-
option metric '1'
86-
option weight '3'
87-
88-
config member 'wanb6_m2_w2'
89-
option interface 'wanb6'
90-
option metric '2'
91-
option weight '2'
92-
93-
config policy 'wan_only'
94-
list use_member 'wan_m1_w3'
95-
list use_member 'wan6_m1_w3'
96-
97-
config policy 'wanb_only'
98-
list use_member 'wanb_m1_w2'
99-
list use_member 'wanb6_m1_w2'
100-
101-
config policy 'balanced'
102-
list use_member 'wan_m1_w3'
103-
list use_member 'wanb_m1_w3'
104-
list use_member 'wan6_m1_w3'
105-
list use_member 'wanb6_m1_w3'
106-
107-
config policy 'wan_wanb'
108-
list use_member 'wan_m1_w3'
109-
list use_member 'wanb_m2_w2'
110-
list use_member 'wan6_m1_w3'
111-
list use_member 'wanb6_m2_w2'
112-
113-
config policy 'wanb_wan'
114-
list use_member 'wan_m2_w3'
115-
list use_member 'wanb_m1_w2'
116-
list use_member 'wan6_m2_w3'
117-
list use_member 'wanb6_m1_w2'
118-
119-
config rule 'https'
120-
option sticky '1'
121-
option dest_port '443'
122-
option proto 'tcp'
123-
option use_policy 'balanced'
124-
125-
config rule 'default_rule_v4'
126-
option dest_ip '0.0.0.0/0'
127-
option use_policy 'balanced'
128-
option family 'ipv4'
129-
130-
config rule 'default_rule_v6'
131-
option dest_ip '::/0'
132-
option use_policy 'balanced'
133-
option family 'ipv6'

patches/feeds/packages/200-mwan3-disable.patch

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)