OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Firewall rules disabled after nic is down
« previous next »
  • Print
Pages: [1]

Author Topic: Firewall rules disabled after nic is down  (Read 2324 times)

caudio

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Firewall rules disabled after nic is down
« 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!
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1534
  • Karma: 166
    • View Profile
Re: Firewall rules disabled after nic is down
« Reply #1 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...
Logged

caudio

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Firewall rules disabled after nic is down
« Reply #2 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..
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1534
  • Karma: 166
    • View Profile
Re: Firewall rules disabled after nic is down
« Reply #3 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...
Logged

caudio

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Firewall rules disabled after nic is down
« Reply #4 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Firewall rules disabled after nic is down
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2