Where/what directory did you find the wireguard .conf file in ssh?Also, I can't find the parameter "Listen Port" for Client configuration.
Can I see the config file through SSH and configure it manually?
Can't find unfortunately.Where/what directory did you find the wireguard .conf file in ssh?
Also, I can't find the parameter "Listen Port" for Client configuration.
Can I see the config file through SSH and configure it manually?
True enough. I guess what I was getting at is since a listen port is generally not required to be specifically stated in client setup, the Asus GUI has no option for it. Then again, they don't have an option to set the MTU, so what do I know.....It is perfectly legitimate to specify a listen port on the client config, you do not have to and in that case a random port will be chosen.
No, it should normally be set to 80 less, so if your wan is 1492 then Wireguard MTU should be set to 1412. But Im not sure how well the firmware handles this. My wan is 1500 and wg server is 1420.Is the Wireguard 'Server' MTU setting just the MTU 1492 one in the WAN page of the Asus menu?
Thanks for that. As above I just added the MTU= line in to the peer .Conf file, is this the item you are referring to as being ignored by the FW? Importing the Conf into WG in iOS shows up the MTU line which you can amend on the fly.No, it should normally be set to 80 less, so if your wan is 1492 then Wireguard MTU should be set to 1412. But Im not sure how well the firmware handles this. My wan is 1500 and wg server is 1420.
Since the firmware is not supporting custom mtu you will need to ssh into the router to find out what it is set to, or to change it.
Yep, the firmware will not import this. Dont know how it determines mtu, if its just wan-80 or just hardcoded to 1420.I just added the MTU= line in to the peer .Conf file, is this the item you are referring to as being ignored by the FW?
I did not know this, I have been using wireguard for a while. When, or how, did you discover this necessity?No, it should normally be set to 80 less, so if your wan is 1492 then Wireguard MTU should be set to 1412. But Im not sure how well the firmware handles this. My wan is 1500 and wg server is 1420.
Since the firmware is not supporting custom mtu you will need to ssh into the router to find out what it is set to, or to change it.
could you elaborate which file needs to be amended please, where in the file and any syntax ?No, it should normally be set to 80 less, so if your wan is 1492 then Wireguard MTU should be set to 1412. But Im not sure how well the firmware handles this. My wan is 1500 and wg server is 1420.
Since the firmware is not supporting custom mtu you will need to ssh into the router to find out what it is set to, or to change it.
We have had this discussion in the wgm threads. I initially searched for a "safe" value and set mine to 1412, @Martineau figured this to be 1500 - 80 (for wg) - 8 (for ppp). These figures are all over the internet, wg ipv4 header is 60 bytes, wg ipv6 header is 80 bytes.I did not know this, I have been using wireguard for a while. When, or how, did you discover this necessity?
You mean on your router? Check your current mtu bycould you elaborate which file needs to be amended please, where in the file and any syntax ?
tia
k
ifconfig wgs1
ifconfig wgc1
ifconfig eth0
...
ip link...
. This needs to be done everytime the interface starts to be persistant.
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!