Project

General

Profile

Bug #9815 ยป bug-config.xml

Bianco Veigel, 10/09/2019 02:41 PM

 
1
<?xml version="1.0"?>
2
<pfsense>
3
	<interfaces>
4
		<wan>
5
			<if>l2tp0</if>
6
			<blockpriv></blockpriv>
7
			<blockbogons></blockbogons>
8
			<descr><![CDATA[WAN]]></descr>
9
			<spoofmac></spoofmac>
10
			<enable></enable>
11
			<ipaddr>l2tp</ipaddr>
12
			<ipaddrv6>2001:xxxx:xxxx:xxxx::2</ipaddrv6>
13
			<subnetv6>64</subnetv6>
14
			<gatewayv6>WANGWv6</gatewayv6>
15
		</wan>
16
		<lan>
17
			<enable></enable>
18
			<if>em1.1</if>
19
			<descr><![CDATA[LAN]]></descr>
20
			<ipaddr>xxx.xxx.157.1</ipaddr>
21
			<subnet>24</subnet>
22
			<ipaddrv6>2001:yyyy:yyyy:yyyy::1</ipaddrv6>
23
			<subnetv6>64</subnetv6>
24
			<spoofmac></spoofmac>
25
		</lan>
26
		<opt1>
27
			<descr><![CDATA[WAN2]]></descr>
28
			<if>em2</if>
29
			<spoofmac></spoofmac>
30
			<mtu>1492</mtu>
31
			<enable></enable>
32
			<ipaddr>xxx.xxx.158.130</ipaddr>
33
			<subnet>25</subnet>
34
			<gateway>WAN2GW</gateway>
35
		</opt1>
36
		<opt2>
37
			<descr><![CDATA[WAN1]]></descr>
38
			<if>em0</if>
39
			<spoofmac></spoofmac>
40
			<mtu>1492</mtu>
41
			<enable></enable>
42
			<ipaddr>xxx.xxx.158.2</ipaddr>
43
			<subnet>25</subnet>
44
			<gateway>WAN1GW</gateway>
45
		</opt2>
46
		<opt3>
47
			<descr><![CDATA[Guest]]></descr>
48
			<if>em1.13</if>
49
			<enable></enable>
50
			<ipaddr>xxx.xxx.42.1</ipaddr>
51
			<subnet>24</subnet>
52
			<spoofmac></spoofmac>
53
		</opt3>
54
		<opt4>
55
			<descr><![CDATA[Something]]></descr>
56
			<if>em1.9</if>
57
			<enable></enable>
58
			<ipaddr>xxx.xxx.240.81</ipaddr>
59
			<subnet>28</subnet>
60
			<gateway>FreifunkGW</gateway>
61
			<spoofmac></spoofmac>
62
		</opt4>
63
		<opt5>
64
			<descr><![CDATA[Anything]]></descr>
65
			<if>em1.3328</if>
66
			<enable></enable>
67
			<ipaddr>xxx.xxx.4.1</ipaddr>
68
			<subnet>24</subnet>
69
			<spoofmac></spoofmac>
70
		</opt5>
71
		<opt6>
72
			<descr><![CDATA[All]]></descr>
73
			<if>ovpnc5</if>
74
			<enable></enable>
75
			<spoofmac></spoofmac>
76
		</opt6>
77
		<opt7>
78
			<descr><![CDATA[Nothing]]></descr>
79
			<if>ovpns6</if>
80
			<enable></enable>
81
			<spoofmac></spoofmac>
82
		</opt7>
83
		<opt8>
84
			<descr><![CDATA[OPT8]]></descr>
85
			<if>l2tp1</if>
86
			<enable></enable>
87
			<blockpriv></blockpriv>
88
			<blockbogons></blockbogons>
89
			<spoofmac></spoofmac>
90
			<ipaddr>l2tp</ipaddr>
91
			<ipaddrv6>2a00:zzzz:zzzz:zzzz::2</ipaddrv6>
92
			<subnetv6>64</subnetv6>
93
			<gatewayv6>OPT8GWv6</gatewayv6>
94
		</opt8>
95
	</interfaces>
96
	<nat>
97
		<npt>
98
			<descr></descr>
99
			<interface>opt8</interface>
100
			<source>
101
				<address>2001:yyyy:yyyy:yyyy::/64</address>
102
			</source>
103
			<destination>
104
				<address>2a00:zzzz:zzzz:zzzz::/64</address>
105
			</destination>
106
		</npt>
107
	</nat>
108
	<filter>
109
		<rule>
110
			<id></id>
111
			<tracker>1570647108</tracker>
112
			<type>pass</type>
113
			<interface>lan</interface>
114
			<ipprotocol>inet6</ipprotocol>
115
			<tag></tag>
116
			<tagged></tagged>
117
			<max></max>
118
			<max-src-nodes></max-src-nodes>
119
			<max-src-conn></max-src-conn>
120
			<max-src-states></max-src-states>
121
			<statetimeout></statetimeout>
122
			<statetype><![CDATA[keep state]]></statetype>
123
			<os></os>
124
			<protocol>icmp</protocol>
125
			<icmptype>any</icmptype>
126
			<source>
127
				<any></any>
128
			</source>
129
			<destination>
130
				<address>2001:bbbb:bbbb:bbbb::1</address>
131
			</destination>
132
			<descr></descr>
133
			<gateway>OPT8GWv6</gateway>
134
		</rule>
135
	</filter>
136
	<vlans>
137
		<vlan>
138
			<if>em1</if>
139
			<tag>1</tag>
140
			<pcp></pcp>
141
			<descr><![CDATA[LAN]]></descr>
142
			<vlanif>em1.1</vlanif>
143
		</vlan>
144
		<vlan>
145
			<if>em1</if>
146
			<tag>13</tag>
147
			<pcp></pcp>
148
			<descr><![CDATA[Guest]]></descr>
149
			<vlanif>em1.13</vlanif>
150
		</vlan>
151
		<vlan>
152
			<if>em1</if>
153
			<tag>9</tag>
154
			<pcp></pcp>
155
			<descr><![CDATA[Something]]></descr>
156
			<vlanif>em1.9</vlanif>
157
		</vlan>
158
		<vlan>
159
			<if>em1</if>
160
			<tag>3328</tag>
161
			<pcp></pcp>
162
			<descr><![CDATA[Anything]]></descr>
163
			<vlanif>em1.3328</vlanif>
164
		</vlan>
165
	</vlans>
166
	<ppps>
167
		<ppp>
168
			<ptpid>0</ptpid>
169
			<type>l2tp</type>
170
			<if>l2tp0</if>
171
			<ports>em0,em2</ports>
172
			<subnet>31,31</subnet>
173
			<gateway>aaa.bbb.ccc.ddd,aaa.bbb.ccc.ddd</gateway>
174
		</ppp>
175
		<ppp>
176
			<ptpid>1</ptpid>
177
			<type>l2tp</type>
178
			<if>l2tp1</if>
179
			<ports>em0,em2</ports>
180
			<subnet>31,31</subnet>
181
			<gateway>ddd.ccc.bbb.aaa,ddd.ccc.bbb.aaa</gateway>
182
		</ppp>
183
	</ppps>
184
	<gateways>
185
		<gateway_item>
186
			<interface>wan</interface>
187
			<gateway>2001:xxxx:xxxx:xxxx::1</gateway>
188
			<name>WANGWv6</name>
189
			<weight></weight>
190
			<ipprotocol>inet6</ipprotocol>
191
			<descr></descr>
192
		</gateway_item>
193
		<gateway_item>
194
			<interface>opt1</interface>
195
			<gateway>xxx.xxx.158.129</gateway>
196
			<name>WAN2GW</name>
197
			<weight>1</weight>
198
			<ipprotocol>inet</ipprotocol>
199
			<descr></descr>
200
			<monitor>192.0.2.6</monitor>
201
			<latencylow>100</latencylow>
202
			<latencyhigh>200</latencyhigh>
203
		</gateway_item>
204
		<gateway_item>
205
			<interface>opt2</interface>
206
			<gateway>xxx.xxx.158.1</gateway>
207
			<name>WAN1GW</name>
208
			<weight>1</weight>
209
			<ipprotocol>inet</ipprotocol>
210
			<descr></descr>
211
			<monitor>192.0.2.2</monitor>
212
			<latencylow>100</latencylow>
213
			<latencyhigh>200</latencyhigh>
214
		</gateway_item>
215
		<gateway_item>
216
			<interface>opt4</interface>
217
			<gateway>xxx.xxx.240.82</gateway>
218
			<name>FreifunkGW</name>
219
			<weight></weight>
220
			<ipprotocol>inet</ipprotocol>
221
			<descr></descr>
222
		</gateway_item>
223
		<gateway_item>
224
			<interface>lan</interface>
225
			<gateway>xxx.xxx.157.1</gateway>
226
			<name>LAN_IPSec</name>
227
			<weight>1</weight>
228
			<ipprotocol>inet</ipprotocol>
229
			<descr><![CDATA[https://www.netgate.com/docs/pfsense/vpn/ipsec/accessing-firewall-services-over-ipsec-vpns.html]]></descr>
230
			<monitor_disable></monitor_disable>
231
			<action_disable></action_disable>
232
		</gateway_item>
233
		<gateway_item>
234
			<interface>opt8</interface>
235
			<gateway>2a00:zzzz:zzzz:zzzz::1</gateway>
236
			<name>OPT8GWv6</name>
237
			<weight></weight>
238
			<ipprotocol>inet6</ipprotocol>
239
			<descr></descr>
240
		</gateway_item>
241
		<defaultgw6>WANGWv6</defaultgw6>
242
		<defaultgw4>WAN_L2TP</defaultgw4>
243
	</gateways>
244
</pfsense>
    (1-1/1)