phantom interfaces (wireguard)

Started by firewall, February 01, 2020, 03:51:20 AM

Previous topic - Next topic
in trying to troubleshoot wireguard connectivity (it's damn near rocket science to get those stars to align btw) i tried to run the client from command line.  from the attached screenshot i'm sure you can tell what i tried to do.  ::)

question is: how do i get rid of them??

Remove the "Lock" checkbox on the interface, disable and unassign
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

negative ghostrider. the only thing that changed is wg0 joined the rest of 'em (see screenshot).

all instances of wireguard-go were killed via command line too, so it's not like it's picking up on a possibly-valid interface option.

Then I'd remove them via CLI in /conf/config.xml
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

i thought of that but didn't figure it'd go well considering the "interfaces" show up via ifconfig:

wg0: flags=8011<UP,POINTOPOINT,MULTICAST> metric 0 mtu 1420
        options=80000<LINKSTATE>
        nd6 options=101<PERFORMNUD,NO_DAD>
        groups: tun
help: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1420
        options=80000<LINKSTATE>
        nd6 options=101<PERFORMNUD,NO_DAD>
        groups: tun
--help: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1420
        options=80000<LINKSTATE>
        nd6 options=101<PERFORMNUD,NO_DAD>
        groups: tun
-v: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1420
        options=80000<LINKSTATE>
        nd6 options=101<PERFORMNUD,NO_DAD>
        groups: tun


if you're certain stripping them from config will carry through to system as well i'll give it a go.

When you disable WireGuard in UI and reboot the interfaces are gone
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/