FireBrick 2700 Configuration: Difference between revisions
Appearance
Content deleted Content added
CrazyTeeka (talk | contribs) No edit summary |
CrazyTeeka (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
The default config of a FireBrick looks like this: |
The default config of a FireBrick looks like this: |
||
<syntaxhighlight> |
<syntaxhighlight> |
||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<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.31.000.xsd" patch="20687"> |
|||
<system contact="John Doe" log-panic="fb-support"/> |
|||
<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> |
|||
<ntp/> |
|||
<telnet/> |
|||
<http local-only="true"/> |
|||
<dns> |
|||
<host name="my.firebrick.co.uk my.firebrick.uk"/> |
|||
</dns> |
|||
</services> |
|||
<port name="LAN1" ports="1"/> |
|||
<port name="LAN2" ports="2"/> |
|||
<port name="LAN3" ports="3"/> |
|||
<port name="WAN" ports="4"/> |
|||
<interface name="LAN1" port="LAN1" ra-client="false" comment="Default LAN interface"> |
|||
<subnet name="Default IPs" ip="2001:db8::1/64 10.0.0.1/24" ra="false" nat="true" comment="Temporary IPs for setup only, delete when finished configuring"/> |
|||
<dhcp name="Auto allocated IPs" comment="Allocates IP addresses automatically"/> |
|||
</interface> |
|||
<interface name="LAN2" port="LAN2" ra-client="false" comment="Default LAN interface"> |
|||
<subnet name="Default IPs" ip="2001:db8::1/64 10.0.0.1/24" ra="false" nat="true" comment="Temporary IPs for setup only, delete when finished configuring"/> |
|||
<dhcp name="Auto allocated IPs" comment="Allocates IP addresses automatically"/> |
|||
</interface> |
|||
<interface name="LAN3" port="LAN3" ra-client="false" comment="Default LAN interface"> |
|||
<subnet name="Default IPs" ip="2001:db8::1/64 10.0.0.1/24" ra="false" nat="true" comment="Temporary IPs for setup only, delete when finished configuring"/> |
|||
<dhcp name="Auto allocated IPs" comment="Allocates IP addresses automatically"/> |
|||
</interface> |
|||
<interface name="WAN" port="WAN" ra-client="true" comment="Default WAN interface"> |
|||
<subnet name="DHCP client" comment="Delete if not required, not needed if using PPP"/> |
|||
</interface> |
|||
<ppp name="LAN-PPPoE" port="LAN1" username="2700-0715-0114@firebrick" password="password" nat="true"/> |
|||
<ppp name="WAN-PPPoE" port="WAN" username="2700-0715-0114@firebrick" password="password" nat="true"/> |
|||
<usb> |
|||
<dongle name="Example-3G" comment="Default 3G config, does not usually require any more settings"/> |
|||
</usb> |
|||
<rule-set name="Firewall: LAN" target-interface="LAN1 LAN2 LAN3" 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> |
</syntaxhighlight> |
||