Nothing Special   »   [go: up one dir, main page]

Skip to content

iazz/nginx-vrf-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx-vrf-ext-module

NGINX support for the $request_vrf variable containing the incoming request's VRF name, based on the interface an incoming connection's socket is bound to. This is only supported on Linux kernels with VRF support and sysctl variable net.ipv4.tcp_l3mdev_accept set to 1.

Copyright © 2018 Green Communications (qolyester@green-communications.fr)

Example config

location / {
        if ($request_vrf = "vlan-42") {
                return 405;
        }

        ...
}

About

NGINX Support for $request_vrf variable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages