The firewall can dial in using PPPoE and PPPoA with an external DSL modem.The xDSL connection can be configured to be in Active or Standby Mode. In Standby Mode, the activation and subsequent monitoring of the link must be triggered externally. PPPoE/PPPoA requires no special configuration to the access network. Each PPP session learns the Ethernet address of the remote peer and creates a unique session identification (ID).
Before You Begin
- Connect the external xDSL modem supplied by your ISP to a port on the Barracuda NextGen Firewall F-Series.
- Verify that you have all the necessary configuration information provided to you by your ISP.
Step 1. Configure Link Properties
Specify the properties for the DHCP link and define the transport protocol for PPP.
- Go to CONFIGURATION > Configuration Tree > Box > Network.
- In the left menu, select xDSL/DHCP/ISDN.
- Click Lock.
- Set xDSL Enabled to Yes.
- In the xDSL Links table, click + to add an entry.
- Enter a name for the xDSL link (no special characters) and click OK. The xDSL Links window opens.
- Select the Connection Type to specify the transport protocol for PPP.
- (optional) Enter the Static Local and Gateway IP address if your ISP does not assign it automatically.
Select the Ethernet Interface the xDSL modem is attached to.
Step 3. Configure Authentication
Most ISPs require authentication information to connect. These configuration settings are provided by your ISP. If no authentication is required, set Authentication Method to NONE.
- In the Authentication section, select the Authentication Method. Default: PAP_or_CHAP
- Enter the User Access ID (PPP username) assigned by your ISP.
- If provided by your ISP, enter the User Access Sub-ID. The # and @ symbols are generated automatically.
- The complete user ID is formatted as follows: [user_id]#[access_sub_id]@[provider_name], e.g., firstname.lastname@example.org
- Enter the Access Password assigned by your ISP.
- If you want to use your ISP's DNS servers, select Use ProviderDNS.
- To use dynamic DNS, select Use Dynamic DNS and click Set. The Dynamic DNS Params window opens.
- Select a dynamic DNS Service Type. For information on DynDNS service types, see http://www.dyndns.com/services/.
- Enter the Dyn DNS Name that was registered on dyndns.org.
- Enter the User Access ID and Password for accessing the dyndns.org service.
- Click OK.
Step 4. Configure Routing Settings
Configure whether to create a default route, dynamic routing, and the route metric.
- Set Create Default Route to YES to automatically create a default route via this xDSL connection.
- If you are using dynamic routing protocols like OSPF/RIP/BGP, enable Advertise Route.
- Enter a Route Metric if multiple dynamic links are available. The link with the lowest route metric is automatically chosen if more than one default route is available.
Step 5. Configure Connection Monitoring
Configure log settings and define target IP addresses that will be regularly pinged to monitor the availability of the connection . Each target IP address is pinged every 20 seconds (2 ICMP packets each). If there is no response, the link is re-established.
- In the Connection Monitoring section, select the Monitoring method:
- LCP – If ping fails, the dial-in daemon is probed directly via LCP.
- ICMP – The Barracuda NextGen Firewall F-Series probes the Reachable IPs and, if there is no response, the gateway.
- StrictLCP – No ICMP probing occurs.
- Enter one or more Reachable IPs to monitor the availability of the connection. The target IP addresses should be accessible only via the xDSL connection.
- Select the Unreachable Action to be taken if the connection cannot be established. The following options are available:
- Restart – Restarts the xDSL connection.
- Increase-Metric – Changes the preference for xDSL routes until the probe succeeds.
- Click OK.
- Click Send Changes and Activate.
Step 6. Activate Network Changes
You must activate the network changes to bring up the xDSL connection.
- Go to CONTROL > Box.
- In the left menu, expand the Network section and click Activate new network configuration.
- Select Failsafe.
Your xDSL connection is now active, and the IP address assigned by your ISP is visible on the CONTROL > Network page. All status icons next to the ppp1 interface are green, indicating an active connection. If the xDSL connection is your primary Internet connection, the default route pointing to the ppp1 interface is also created. If more than one default route is present, the connection with the lowest route metric is used.
Operating an xDSL Link in Standby Mode
If required, e.g., for maintenance purposes, you can enable Standby Mode in the link configuration. In Standby Mode, the activation and subsequent monitoring of the link must be triggered externally. Standby Mode also lets you combine HA setups for HA xDSL connections. In Standby Mode:
- The involved routes are set to a pending state, and it is not checked whether they are established.
- The configuration is completely run through, but the connection is not yet established.
Connecting is handled from the Command-Line Interface via a server-side script that is used for starting and stopping the connection with corresponding command lines:
- Start all xDSL connections -
/etc/phion/bin/openxdsl start &
- Stop all xDSL connections -
/etc/phion/bin/openxdsl stop &
- Start an explicit xDSL connection -
/etc/phion/bin/openxdsl start <linkname> &
- Stop an explicit xDSL connections -
/etc/phion/bin/openxdsl stop <linkname> &
<linkname> is the name of the configuration entry in the xDSL Links list:
In some cases, especially in combination with PPPoE acceleration, the segment size of the packets going into the tunnel might be too big. Set the MSS (Maximum Segment Size) to 1350 and clear DF bit to yes in the Advanced Settings tab for all access rules handling incoming and outgoing traffic for the PPPoE connection.