Policy Base Routing on IPIP tuel with PTP Addressing.
In this article you can know how to configure IPIP tuel, PTP addressing at the end using Policy base Routing (PBR) on Tuel IPIP).
Theory about (PBR)
In computer networking, policy-based routing (PBR) is a technique used to make routing decisions based on policies set by the network administrator.
When a router receives a packet it normally decides where to forward it based on the destination address in thepacket, which is then used to look up an entry in a routing table. However, in some cases, there may be a need to forward the packet based on other criteria. For example, a network administrator might want to forward a packet based on the source address, not the destination address. This should not be confused with source routing.
Policy-based routing may also be based on the size of the packet, the protocol of the payload, or other information available in a packet header or payload. This permits routing of packets originating from different sources to different networks even when the destinations are the same and can be useful when intercoecting several private networks.
In this Example I Want Shown how to configure IPIP Tuel with PTP addressing and at the end using PBR to bypass filtered Sites form DCI.
In my country some website are filtered by DCI so I used PBR to forward my Client's request to another MikroTik in other country.(for example USA)
For This Reason I Want When Request Was For Facebook And YouTube Website an so,The Packets Goes through IPIP Tuel And Other Normal Coection Goes through Country Inteet Coection.
Diagram:
For this Scenario we need configure both side ip addresses, configure IPIP tuel and at the end mark client's request to forward through IPIP Tuel.
Step one addressing
On the MikroTik 540G(filtered):
add ip address Code
ip address add address=192.168.20.1/24 interface="Ether 2 LAN" disabled=noip address add address=46.1.1.1 interface="Ether 1 Public" disable=no
ما را در سایت برای تکتک فیلمهایم جنگیدم/ به پلان به پلان آثارم قسم میخورم دنبال میکنید
برچسب: نویسنده: بازدید: 148