OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of matthewsdi »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - matthewsdi

Pages: [1]
1
20.7 Legacy Series / Re: Gateway status API
« on: August 15, 2020, 09:15:21 pm »
I've added a feature request https://github.com/opnsense/core/issues/4261, and Ad Schellevis also gave me the cli equivalent if that helps you in the comments there.

Code: [Select]
pluginctl -r return_gateways_status

2
20.1 Legacy Series / Re: API for gateway status and pinger data
« on: August 15, 2020, 09:15:06 pm »
I've added a feature request https://github.com/opnsense/core/issues/4261, and Ad Schellevis also gave me the cli equivalent if that helps you in the comments there.

Code: [Select]
pluginctl -r return_gateways_status

3
Development and Code Review / Re: Query status of gateways via API
« on: August 15, 2020, 09:14:36 pm »
I've added a feature request https://github.com/opnsense/core/issues/4261, and Ad Schellevis also gave me the cli equivalent if that helps you in the comments there.

Code: [Select]
pluginctl -r return_gateways_status

4
Development and Code Review / Re: Query status of gateways via API
« on: August 14, 2020, 10:55:54 pm »
I know this is not helpful, but I have the same request. I looked through the api docs and can't find it anywhere. I'm assuming you can't. I am trying to solve my other problem, documented here https://forum.opnsense.org/index.php?topic=16460.msg74953#msg74953, by writing a script that queries the gateway status and tells opnsenes/frr to stop advertising a default route if the gateway is down. I have multiple opnsense boxes at my edges and I want them to stop advertising to ospf that they can get to the internet if they actually can't. None of the options in the GUI accomplish this so I want to orchestrate it via api or cli, but I have yet to find a way to programatticaly get the gateway status that is so nicely displayed right on the dashboard.

5
20.1 Legacy Series / Re: OPNsense advertising default gateway via OSPF even when gateway is down
« on: March 25, 2020, 09:37:59 pm »
I really appreciate the response. That's what I was afraid of. I'll dig into FRR docs. Thanks

6
20.1 Legacy Series / OPNsense advertising default gateway via OSPF even when gateway is down
« on: March 25, 2020, 08:37:03 pm »
INTERNET <=> CABLE MODEM <=> OPNsense <=> OSPF-ROUTER <=> Client Computer

I've got a problem with OSPF, in that it keeps advertising that it has a default gateway even when the internet is unreachable to OPNsense. My OSPF router has other paths with a higher cost to the internet, but because OPNsense keeps advertising the default route my Client Computers get routed to nowhere.
Originally I thought it was because the cable modem(OPNsense gateway for static IP) is up, so I added 8.8.8.8 as the monitor IP for that gateway and it now correctly shows Offline when the upstream provider goes down, but it still seems to advertise a default route to downstream OSPF routers.

Does anyone know how to configure this correctly? I can only find an option to always advertise default route which is the opposite of what I want, and the manual reads as though the default should be to not distribute.

7
Hardware and Performance / Re: LCDproc on Watchguard XTM 5 series
« on: June 30, 2019, 05:36:43 am »
I am also trying to figure this out. You get anywhere with it?

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