FireBrick 2700 Configuration: Difference between revisions
Appearance
Content deleted Content added
Remove some whitespace |
CrazyTeeka (talk | contribs) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
<syntaxhighlight lang=xml> |
<syntaxhighlight lang=xml> |
||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||
<config serial="0000-0000-0000" version="FB2700 Flint (V1.53.000)"> |
|||
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/download/FB2701/xml/fb2700/1.38.001.xsd" patch="22527"> |
|||
<system contact="John Doe" log-panic="fb-support"/> |
<system contact="John Doe" log-panic="fb-support"/> |
||
<log name="default" comment="General logging for web viewing"/> |
<log name="default" comment="General logging for web viewing"/> |
||
| Line 61: | Line 61: | ||
<syntaxhighlight lang=xml> |
<syntaxhighlight lang=xml> |
||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||
<config serial="0000-0000-0000" version="FB2700 Flint (V1.53.000)"> |
|||
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/download/FB2701/xml/fb2700/1.38.001.xsd" patch="22527"> |
|||
<system contact="John Doe" log-panic="fb-support"/> |
<system contact="John Doe" log-panic="fb-support"/> |
||
<user name="admin" password="secret" timeout="1:00:00"/> |
<user name="admin" password="secret" timeout="1:00:00"/> |
||
| Line 92: | Line 92: | ||
<syntaxhighlight lang=xml> |
<syntaxhighlight lang=xml> |
||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||
<config serial="0000-0000-0000" version="FB2700 Flint (V1.53.000)"> |
|||
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/download/FB2701/xml/fb2700/1.38.001.xsd" patch="22527"> |
|||
<system contact="John Doe" log-panic="fb-support"/> |
<system contact="John Doe" log-panic="fb-support"/> |
||
<user name="admin" password="secret" timeout="1:00:00"/> |
<user name="admin" password="secret" timeout="1:00:00"/> |
||
| Line 274: | Line 274: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
=L2TP Tunnel= |
|||
=Firewall= |
|||
L2TP tunnel with port 4 connected to another router: |
|||
Here are some pre-written firewall rules: |
|||
<syntaxhighlight lang=xml> |
|||
*[[FireBrick Firewall - Steam Client]] |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<config serial="0000-0000-0000" version="FB2700 Flint (V1.53.000)"> |
|||
<system contact="John Doe" log-panic="fb-support"/> |
|||
<user name="admin" password="secret" timeout="1:00:00"/> |
|||
<log name="default" comment="General logging for web viewing"/> |
|||
<log name="fb-support" comment="Log target for sending logs to FireBrick support team"> |
|||
<email to="crashlog@firebrick.ltd.uk" delay="10" comment="Crash logs emailed to FireBrick support team"/> |
|||
</log> |
|||
<services> |
|||
<http/> |
|||
<dns resolvers="2001:8b0::2020 2001:8b0::2021 217.169.20.20 217.169.20.21"/> |
|||
<telnet/> |
|||
<time/> |
|||
</services> |
|||
<port name="LAN" ports="1 2 3"/> |
|||
<port name="WAN" ports="4"/> |
|||
<interface name="LAN" port="LAN" ra-client="false"> |
|||
<subnet ip="2001:db8::1/64 10.0.0.1/24"/> |
|||
<dhcp name="DHCP" ip="10.0.0.2-254" lease="1:00:00"/> |
|||
</interface> |
|||
<interface name="WAN" port="WAN" ra-client="true" table="1"> |
|||
<subnet name="DHCP"/> |
|||
</interface> |
|||
<l2tp> |
|||
<outgoing name="AAISP" hostname="AAISP" server="90.155.53.19" graph="AAISP" table="1" payload-table="0" username="me@a.1" password="secret" min-retry="1" tcp-mss-fix="true"/> |
|||
</l2tp> |
|||
<rule-set name="Fallback: NAT" target-interface="nowhere" no-match-action="continue"> |
|||
<rule name="NAT" set-nat="true" set-table="1" action="accept"/> |
|||
</rule-set> |
|||
<rule-set name="Firewall: LAN" target-interface="LAN" no-match-action="reject" comment="Default firewall rule for traffic to LAN"> |
|||
<rule name="Allow Firebrick" source-interface="self" comment="Allow all from the FireBrick to LAN"/> |
|||
</rule-set> |
|||
</config> |
|||
</syntaxhighlight> |
|||
[[Category:FireBrick|Configuration]] |
[[Category:FireBrick|Configuration]] |
||