Page MenuHomeVyOS Platform

Global PBR
Closed, ResolvedPublicFEATURE REQUEST

Description

Dear, Developers

I need Global PBR feature to make I can dial-in L2tp vpn from wan and I want to make default gateway of my l2tp client can surfing internet with gateway of LAN.

Here are details:
https://forum.vyos.io/t/how-to-make-lan-as-the-default-gateway-and-make-static-routing-for-wan-works/4681/8

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Good topic. Hopefully can be done as soon as possibly :)

syncer triaged this task as Low priority.Mar 9 2020, 2:37 AM
Viacheslav claimed this task.

Already in 1.3.

[email protected]# set policy local-route rule 150 source 192.168.255.0/24
[edit]
[email protected]# set policy local-route rule 150 set table 100
[edit]
[email protected]# commit
sudo ip rule[edit]
[email protected]# sudo ip rule show
0:	from all lookup local
150:	from 192.168.255.0/24 lookup 100
32766:	from all lookup main
32767:	from all lookup default
[edit]
erkin set Issue type to Feature (new functionality).Aug 31 2021, 5:46 PM