I did the start/stop option. i will test the other method.Thats great! So, did you go for start/stop or did you attempt geo-location "livin"?
I really think the geo-location feature would be really nice in an app like this.
I did the start/stop option. i will test the other method.Thats great! So, did you go for start/stop or did you attempt geo-location "livin"?
I really think the geo-location feature would be really nice in an app like this.
I did the start/stop option. i will test the other method.
What would you say will be the benefit of using the livin feature vs start/stop?Thats great! So, did you go for start/stop or did you attempt geo-location "livin"?
I really think the geo-location feature would be really nice in an app like this.
Mostly flexibility I guess. You could keep a basic setup that always applies like your network to wg11 then change a single ip output without disturbing the others.What would you say will be the benefit of using the livin feature vs start/stop?
Hi Zeb, I must be doing something wrong. I execute “livin wg12 192.168.1.6” and get an Error “Invalid host IPv4 address”Mostly flexibility I guess. You could keep a basic setup that always applies like your network to wg11 then change a single ip output without disturbing the others.
It allows you to keep all peers up all the time with the basic config and only change what you want.
So basically on every phone you could have buttons for which wg1x this phone should use without affecting the entire network.
WhoopsHi Zeb, I must be doing something wrong. I execute “livin wg12 192.168.1.6” and get an Error “Invalid host IPv4 address”
wireguard_manager
Beta v4.15b5 patchede = Exit Script [?]
E:Option ==> uf dev
None - simply aliases for the featurealso, what’s the difference between livin/jump/geo? Thx
Updated. Still getting same Error.Whoops
wireguard_manager
Beta v4.15b5 patched
Update usingUpdate wg_manager.sh · MartineauUK/wireguard@c227baa
FIX: 'livin wg1x 192.168.50.38' fails as it doesn't recognise '192.168.50.38' as a valid IPv4 address (Should be RESERVED with 'dhcp-host=' defined in '/etc/dnsmasq....github.com
Code:e = Exit Script [?] E:Option ==> uf dev
None - simply aliases for the feature
Do you have the IP reserved?I updated. Still
Updated. Still getting same Error.
grep -F 192.168.1.6 /etc/dnsmasq.conf
I don't think so. any ip I try I get the same Error.Do you have the IP reserved?
Code:grep -F 192.168.1.6 /etc/dnsmasq.conf
I don't think so. any ip I try I get the same Error.
E:Option ==> livin wg12 192.168.1.100
***ERROR: Invalid host IPv4 address!'
WireGuard ACTIVE Peer Status: Clients 2, Servers 0
E:Option ==> grep -F 192.168.1.6 /etc/dnsmasq.conf
Invalid Option "grep -F 192.168.1.6 /etc/dnsmasq.conf" Please enter a valid option
WireGuard ACTIVE Peer Status: Clients 2, Servers 0
grep -F 192.168.1.6 /etc/dnsmasq.conf
wireguard_manager
command!livin
command won't work, as it is trying to validate that the IP address is authorised.So add your ip to the manual ip list in gui, under LAN-->DHCP-Server.I don't think so. any ip I try I get the same Error
Some time ago when I attempted this it was possible to use cidr notation with this command. Is this no longer possible with this check?If you have not reserverd/assigned the IP to a specific LAN device, then thelivin
command won't work, as it is trying to validate that the IP address is authorised.
got it! thank you.is not aCode:grep -F 192.168.1.6 /etc/dnsmasq.conf
wireguard_manager
command!
If you have not reserverd/assigned the IP to a specific LAN device, then thelivin
command won't work, as it is trying to validate that the IP address is authorised.
The original check was for IPv4 or IPv4 CIDR format only, but I suppose you could have several subnets or even wish to have passthru' clients such as OpenVPN 10.8.0.x addresses use the feature, but it is prudent when implementing Selective Routing, that you ensure that the IPs are reserved/static to prevent the wrong device from being accidentally routed out the wrong interface.So add your ip to the manual ip list in gui, under LAN-->DHCP-Server.
Guess it makes sense that wgm only allows this for static ips.
At present no.Some time ago when I attempted this it was possible to use cidr notation with this command. Is this no longer possible with this check?
You should be able to run @Odkrys scripts even though there is buildt in modules. You could still load custom modules (or use the scripts with the buildt in modules).After upgrading to 386.4 I note it DOES already include wg kernel and tools. So I can’t use the experimental ones and follow it’s guide.
E:Option ==> peer wg21 port=xxxxx
I saw in AMTM that this wg session manager script was available but not sure how to import my old configuration which used custom listening ports and pre shared keys.
wireguard_manager
uses SQL tables (in lieu of NVRAM) so .conf files need to be imported.wireguard_manager
'server' Peers are named 'wg2x' and during the initial install 'server' Peer 'wg21' is created.wireguard_manager
install, save/rename the .conf files as saye = Exit Script [?]
E:Option ==> peer wg21 del
e = Exit Script [?]
E:Option ==> peer import wg0_old type=server
e = Exit Script [?]
E:Option ==> peer import wg1_old type=server
e = Exit Script [?]
E:Option ==> peer
e = Exit Script [?]
E:Option ==> peer wg21 config
auto=y
directivee = Exit Script [?]
E:Option ==> peer wg21 auto=y
does wgm somehow understand that you import a server peer withthen import the .configs
E:Option ==> peer import wg1_old
E:Option ==> peer import wg1_old type=server
Until the Site-to-Site feature was implemented, adoes wgm somehow understand that you import a server peer with
Or would you need to specify:Code:E:Option ==> peer import wg1_old
Code:E:Option ==> peer import wg1_old type=server
wireguard_manager
created 'server' Peer .conf file never contained an Endpoint =
socket directive so the peer import xxx
request is able to differentiate between a 'server' and 'client' Peer.type=
, but whilst for advanced Peer topology requirements it is mandatory, in this case it wouldn't hurt! type=server
is mandatory! - post #595 updated.wireguard_manager
is successful, or if he will need to start from scratch and use wireguard_manager
's default 'server' Peer 'wg21' and (re)create the necessary Road Warrior 'client' Peers.I appreciate your effort. If I had more time available for experimenting and then testing I would have tried importing and figuring it out. But I’m sure your instructions are going to help people. And I might come back to them if I get time to revisit. Thanks.Until the Site-to-Site feature was implemented, awireguard_manager
created 'server' Peer .conf file never contained anEndpoint =
socket directive so thepeer import xxx
request is able to differentiate between a 'server' and 'client' Peer.
So for most import requests there is no requirement to explicitly specifytype=
, but whilst for advanced Peer topology requirements it is mandatory, in this case it wouldn't hurt!
We will have to wait and see if the OP's attempt to port his current 'server' Peer towireguard_manager
is successful, or if he will need to start from scratch and usewireguard_manager
's default 'server' Peer 'wg21' and (re)create the necessary Road Warrior 'client' Peers.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!