Lochnair / vyatta-wireguard

GNU General Public License v3.0
705 stars 37 forks source link

uninstallation fails to commit #135

Open drizuid opened 4 years ago

drizuid commented 4 years ago

ERL 3 on v2.0.6.5208553.190708.0607

some background, i set this up but found that my ipsec s2s had more throughput (though with higher cpu, so i suspect that wg will only get better) I later found that once wg was installed, even with hwnat (forwarding in erl3) and ipsec offload enabled, my cpu was pegging at about 100Mbps.

admin@erl3#                 delete interfaces wireguard wg0
[edit]
admin@erl3#                 delete interfaces wireguard wg1
[edit]
admin@erl3# commit
Commit failed
admin@erl3# delete interfaces wireguard
Nothing to delete (the specified node does not exist)
[edit]
admin@erl3# commit
Commit failed
admin@erl3# show interfaces wireguard
-wireguard wg0 {
-    listen-port 53
-    peer AXH17fWQMjJfKSTyFSkhunH1hT8bmyjFmfzNy8fWsVM= {
-        allowed-ips 192.168.254.0/24
-    }
-    private-key /config/auth/dznet-p.key
-    route-allowed-ips true
-}
-wireguard wg1 {
-    disable
-    listen-port 51821
-    peer ioS7yx+dMlzonEK/yv5dqepaX6E8XN4LGm46E2SIFHk= {
-        allowed-ips 192.168.255.0/24
-        allowed-ips 10.0.0.0/24
-        description "Visnick ER-X"
-        persistent-keepalive 15
-    }
-    private-key /config/auth/visnick.key
-    route-allowed-ips true
-}
stoffeastrom commented 4 years ago

@drizuid

set interfaces wireguard wg0 route-allowed-ips false
commit
delete interfaces wireguard
drizuid commented 4 years ago

ah i just factory reset. I'll leave this open in case anyone wants your notes for a PR to the readme. Thanks stoff.