OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: caudio on May 18, 2017, 12:58:47 am

Title: Firewall rules disabled after nic is down
Post by: caudio on May 18, 2017, 12:58:47 am
Hello.

I have an issue with a router that I have installed on my business.  One of the interfaces is connected to a TV, and everytime that somebody turn off that TV, I need to reload the firewall rules in order to get internet connectivity (Smart TV) again to the internet.

Is there anyway to make the router keep the rules active even if the interface goes down? (TV off)

Thanks!
Title: Re: Firewall rules disabled after nic is down
Post by: bartjsmit on May 18, 2017, 12:10:36 pm
What type of switch is between OPNsense and the TV? Is the TV on a static IP or DHCP?

Bart...
Title: Re: Firewall rules disabled after nic is down
Post by: caudio on May 18, 2017, 08:37:38 pm
The TV is connected directly to one of the interfaces on the router (it has 4, 1 wan and 3 Lans) attached is a capture.
The IP is assigned by DHCP. but I have confirmed with a laptop connected there, that the DHCP works, but there is no internet connectivity until I reload manually the Firewall Rules..
Title: Re: Firewall rules disabled after nic is down
Post by: bartjsmit on May 18, 2017, 09:26:01 pm
When you say 'directly connected' do you mean by a cross-over cable? In that case, the behaviour is as expected - turning the TV off will cause the OPNsense interface to disconnect on layer 1.

Can you put a switch in between the firewall and the TV? That will keep the physical interface on OPNsense up.

Bart...
Title: Re: Firewall rules disabled after nic is down
Post by: caudio on May 18, 2017, 10:23:42 pm
I know that the behaviour on layer one is as expected, and that the interface should be bring down if there is no link. but once that connection is restore, the firewall access through that interface should be restored as well, there should be no need of manually reload the rules everytime the interface goes down and gets back.