Vyos no work firewall


#1

Hello !

No work Firewall set interface eth5 vif 62

vyos@vyos:~$ show firewall statistics

------------------------
Firewall Global Settings
------------------------

Firewall state-policy for all IPv4 and Ipv6 traffic

state           action   log
-----           ------   ---
established     accept   disabled
related         accept   disabled

-----------------------------
Rulesets Information
-----------------------------
--------------------------------------------------------------------------------
IPv4 Firewall "test":

 Active on (eth5.62,OUT)

rule  packets   bytes     action  source              destination
----  -------   -----     ------  ------              -----------
1     0         0         ACCEPT  10.0.29.130         0.0.0.0/0
10000 0         0         DROP    0.0.0.0/0           0.0.0.0/0

At the interface is assigned IP address 10.0.29.1/24, usually does not work. Help me !!

vyos@vyos# show firewall

 all-ping enable
 broadcast-ping disable
 config-trap disable
 ipv6-receive-redirects disable
 ipv6-src-route disable
 ip-src-route disable
 log-martians enable
 name test {
     rule 1 {
         action accept
         source {
             address 10.0.29.130
         }
     }
 }
 receive-redirects disable
 send-redirects enable
 source-validation disable
 state-policy {
     established {
         action accept
     }
     related {
         action accept
     }
 }
 syn-cookies enable
 twa-hazards-protection disable

ip address 10.0.29.130 PC


#2

Perhaps you could try something like:

set interface ethernet eth5 vif 62 in|local|out name test

You have to select the direction you want to test.