OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: firewall on February 01, 2020, 03:51:20 am

Title: phantom interfaces (wireguard)
Post by: firewall on February 01, 2020, 03:51:20 am
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??
Title: Re: phantom interfaces (wireguard)
Post by: mimugmail on February 01, 2020, 06:33:14 am
Remove the "Lock" checkbox on the interface, disable and unassign
Title: Re: phantom interfaces (wireguard)
Post by: firewall on February 01, 2020, 07:07:24 am
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.
Title: Re: phantom interfaces (wireguard)
Post by: mimugmail on February 01, 2020, 07:10:10 am
Then I'd remove them via CLI in /conf/config.xml
Title: Re: phantom interfaces (wireguard)
Post by: firewall on February 01, 2020, 07:14:11 am
i thought of that but didn't figure it'd go well considering the "interfaces" show up via ifconfig:

Code: [Select]
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.
Title: Re: phantom interfaces (wireguard)
Post by: mimugmail on February 01, 2020, 09:08:04 am
When you disable WireGuard in UI and reboot the interfaces are gone