When setting the PPPOE Server, we need to pay attention to two main points: one is to set the IP address pool, and the other is to set the PPPoE Server parameter process. With these two settings, we can effectively learn more about applications based on what we have learned.
1. Set the IP address pool
Go to winbox and click IP address Pool 。
On the "IP Pool" page, click "+" at the bottom of the menu
On the "New IP Pool" page, click the downward arrow behind "Addresses ".
Enter the address pool range. In this example, 192.168.6.11-192.168.6.252. Click OK to exit 。
2. Set PPPoE Server
In the main menu, click "PPP "。
In the "PPP" dialog box, click the "Secrets" tab, and then click "+" in the upper left corner "。
The "New PPP Secret" dialog box appears. The Name is the logon Name, And the Password is the logon Password. Here we set it to "111". In "Service", select "pppoe ", to Limit the speed of a workstation, you can set the uplink and downlink speed limits In the Limit Bytes In and Limit Bytes Out boxes below. Note that the unit is byte/second. to Limit the speed to 1 MB, you can set it to 1024000. After completing the settings, click "OK" to complete the settings for the account 。
Return to the "PPP" Settings page, click the "Profiles" tab, and double-click the default configuration file default
In Local Address and Remote Address, select the Address pool name created earlier. In this example, It is pool1. In the "DNS Server" box, enter the DNS Address. If there are multiple DNS, you may click the downward arrow behind the "DNS Server" box. Click "OK" to exit 。
Return to the "PPP" Settings page, click the "Interfaces" tab, and then click "PPPoE Server "。
The "New PPPoE Service" dialog box appears. In the "Interface" box, select an intranet nic. in this example, it is a Lan, select "One Session Per Host". Click "OK" to complete the settings 。
So far, the vro has been configured. The settings in IP Route Firwall are the same as those in general settings. Add a NAT rule and select "srcnat", Src. address Intranet CIDR block, or you may not set the CIDR block, that is, the CIDR block is forwarded. In Action, set "Action" to "masquerade". The setting is complete 。