Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pbr proto based policies failed #25546

Open
axet opened this issue Dec 13, 2024 · 0 comments
Open

pbr proto based policies failed #25546

axet opened this issue Dec 13, 2024 · 0 comments

Comments

@axet
Copy link
Contributor

axet commented Dec 13, 2024

Maintainer: @stangri
Environment: 23.05.5

Description:

Hello!

I'm using pbr to filter all udp packets using my external IP so torrenting can work properly (using direct IP not NAT IP). Simple rule should be fine:

config policy
        option proto 'udp'
        option interface 'wanext'

But it failed with : ERROR: Policy 'Untitled' has no source/destination parameters!

Following rule works fine:

config policy                        
        option dest_port '0-65535'
        option proto 'udp'               
        option interface 'wanext' 

Booth rules should be accepted.

Another issue: when policy name specified, error will be ommited:

ERROR: 
udp routing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant