
Your ISP will supply the correct values for
pppoe_username
and
pppoe_password
in the dialog
above.
The PPPoE tunnel interface can now be treated exactly like a physical interface by the policies
defined in CorePlus rule sets.
There also has to be a route associated with the PPPoE tunnel to allow traffic to flow through it,
and this is automatically created in the
main
routing table when the tunnel is defined. If we go to
Routing > Routing Tables > Main in the navigation tree we can see this route.
If the PPPoE tunnel object is deleted, this route is also automatically deleted.
At this point, no traffic can flow through the tunnel since there is no IP rule defined that allows it.
As was done in option A above, we must define an IP rule that will allow traffic from a designated
source interface and source network (in this example, the network
ge3_net
and interface
ge3
) to
flow to the destination network
all-nets
and the destination interface which is the PPPoE tunnel
we have defined.
D. PPTP setup
For PPTP connections, a PPTP client tunnel interface object needs to be created. Let us assume
that the PPTP tunnel will be called
wan_pptp
with a remote endpoint
10.5.4.1
which has been
defined as the IP4 Address object
pptp_endpoint
. Go to Interfaces > PPTP/L2TP Clients in the
navigation tree and select Add > PPTP/L2TP Client. The values can now be entered into the
properties dialog and the
PPTP
option should be selected.
Chapter 3: CorePlus Configuration
45