Menu

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.

Show posts Menu

Messages - plyn

#1
Hi there,
I have opened config.xml and am wondering what this actually means:
<opnsense>
   <system>
   ...
       <ipv6allow>1</ipv6allow>
   ...

Obviously it will allow ipv6. But I'm really not sure where to find it in the gui or what it actually does.

I'm asking because I recently ran into this problem:
https://forum.opnsense.org/index.php?topic=38631.msg189107#msg189107
(tl;dr Default gateway for IPv4 disappeared after upgrade)

Also in System: Gateways: Configuration this appeared:
https://imgur.com/a/iMTJIwu
and could not be deleted for some reason. After clicking on bin icon, it just did nothing.

After a week it happened again randomly after a reboot.

So I decided to compare my config.xml with the default one.
One of the many differences in my config was<ipv6allow>1</ipv6allow> and I am not sure if this could be related to the problem.

I also find this overflow in my config:
<gateways>
    <gateway_item/>
  </gateways>
So I deleted it. And the undeletable undefined gateway disappeared.

Not sure if my problems are solved now or if it could happen again. Also not sure if its a bug in opnsense 24.1 or if I am just dumb bfu.

Thanks everyone for any advice!

#2
oh, my IPv4 Upstream Gateway on LAN is (and can only be) set to Auto-detect.
I guess this is what you mean by Auto-config and everything is now set correctly.
Thanks for your help!
#3
Quote from: Saarbremer on February 05, 2024, 10:57:37 PM
You might also want to have a look at the gateway config in the WAN interface, being set to Auto-Config.

Could you please tell me where I can find these settings?
I went to Interfaces > [WAN] but I couldn't find an item to set to Auto-Config.

Thanks in advance for your help.