Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages