Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:routing:pbr [2021/08/16 23:31] – [PBR with netifd] vgaeteradocs:guide-user:network:routing:pbr [2023/09/27 02:36] – [PBR (Policy-Based Routing)] vgaetera
Line 1: Line 1:
-===== PBR (Policy-Based Routing) =====+====== PBR (Policy-Based Routing) =====
 +See also: 
 +[[docs:guide-user:network:routing:basics#policy-based_routing|Routing basics]] 
 [[wp>Policy-based_routing|PBR]] is a technique used to make routing decisions based on policies set by the network administrator. [[wp>Policy-based_routing|PBR]] is a technique used to make routing decisions based on policies set by the network administrator.
 There are different methods to implement PBR with their own pros and cons, and some methods can be more suitable than others depending on your goal. There are different methods to implement PBR with their own pros and cons, and some methods can be more suitable than others depending on your goal.
  
-===== PBR solutions =====+===== Solutions ===== 
 +==== PBR app ==== 
 +See also: 
 +[[docs:guide-user:network:routing:pbr_app|PBR app]] 
 + 
 +PBR app helps overcome routing issues for the following scenarios: 
 +  * Utilize split tunneling to route your traffic to VPN/WAN selectively for some of hosts/subnets/domains. 
 +  * Implement port forwarding on the WAN interface when traffic is routed to VPN by default. 
 +  * Run VPN client and server simultaneously and route traffic to the VPN client. 
 +  * Provide web interface to manage routing policies. 
 ==== PBR with netifd ==== ==== PBR with netifd ====
 See also: See also:
-[[docs:guide-user:network:routing:pbr_netifd|PBR with netifd]], +[[docs:guide-user:network:routing:pbr_netifd|PBR with netifd]]
-[[docs:guide-user:network:routing:examples:pbr_netifd|Routing example: PBR with netifd]]+
  
 PBR with netifd helps to utilize different routing tables to route traffic to a specific interface based on traffic parameters like ingress/egress interface, source/destination address, firewall mark, etc.: PBR with netifd helps to utilize different routing tables to route traffic to a specific interface based on traffic parameters like ingress/egress interface, source/destination address, firewall mark, etc.:
   * Relies on the built-in netifd functionality and requires no extra software installation.   * Relies on the built-in netifd functionality and requires no extra software installation.
-  * Suitable for network interfaces managed by netifd such as static, DHCP/DHCPv6, WireGuard, OpenConnect, PPTP, etc. +  * Suitable for managed and unmanaged interfaces declared in the network configuration.
-  * Can be used for network interfaces unmanaged by netifd such as OpenVPN using the PBR protocol.+
   * Works well with interfaces, subnets, IP addresses and ports, but not domains.   * Works well with interfaces, subnets, IP addresses and ports, but not domains.
- 
-==== VPN policy routing ==== 
-See also: 
-[[https://docs.openwrt.melmac.net/vpn-policy-routing/|VPN policy routing]], 
-[[docs:guide-user:network:routing:examples:pbr_app|Routing example: VPN policy routing]] 
- 
-VPN policy routing helps overcome routing issues for the following scenarios: 
-  * Utilize split tunneling to route your traffic to VPN/WAN selectively for some of hosts/subnets/domains. 
-  * Implement port forwarding on the WAN interface when traffic is routed to VPN by default. 
-  * Run VPN server and client simultaneously and route traffic to the VPN client. 
  
 ==== mwan3 ==== ==== mwan3 ====
 See also: See also:
 [[docs:guide-user:network:wan:multiwan:mwan3|mwan3]], [[docs:guide-user:network:wan:multiwan:mwan3|mwan3]],
-[[docs:guide-user:services:vpn:openvpn:dual-wan|Routing example: Dual VPN with mwan3]]+[[docs:guide-user:routing:examples:dual-wan|Routing example: Dual VPN with mwan3]]
  
 mwan3 provides load balancing and failover with multiple WAN interfaces. mwan3 provides load balancing and failover with multiple WAN interfaces.
  
  • Last modified: 2023/10/29 00:46
  • by vgaetera