How to change # of tunnel interfaces / specific interface is used???
Posted: Thu Apr 07, 2022 1:31 pm
Alright, I'm gonna be honest I'm very new to all of this... But i have successfully deployed access server on my home file server. It allows me to connect to my NFS and samba shares from anywhere. Which is what i was trying to accomplish.
But on the same machine i run a dlna server (minidlna) so that i can watch movies on devices in my home, in it's config i have to select the "interface" i would like the server to bind to, but it only allows me to set a total of 4. And apparently the tunnel interfaces for access server are "as0t0" - "as0t15", giving me 16 total options. And as far as i can tell it's completely random as to which tunnel i connect to and i still need one of those 4 available for my standard ethernet connection when I'm on my home network. Although it's still too painful to connect and reconnect until i get the right tunnel, especially since it seems to (usually) attempt to reconnect to the previous tunnel interface... I've tried using a wildcard for the number at the end of the interface to give minidlna a way of using more than 4, but this doesn't work either. Anyway, i have a 3 out of 16 chance of getting one that works. But when i do land on one that is set it works perfectly, so i figured i should be able to make access server either use a specific tunnel based on a device or simply limit the amount available tunnels to 3 since i will only ever have 2 devices connected at a time anyway this didn't seem like a downside, unless I'm missing something? But then it comes to doing one of those 2 things...
I've searched and searched and i can't seem to find any way to change any settings whatsoever regarding the tunnel interfaces, much less so that OVPNAS will only use as0t0 - as0t3 or to make it use a specific tunnel for certain devices. If this is possible (or not possible and i need to use the regular openvpn service) or I'm missing some obvious answer please let me know.
I might not be using the right terminology when I'm searching but I'm at a loss and i figured it was time to ask for help. If anyone can spare a second to point me where i need to go to find the correct info, I'd really appreciate it. Thanks for your time.
But on the same machine i run a dlna server (minidlna) so that i can watch movies on devices in my home, in it's config i have to select the "interface" i would like the server to bind to, but it only allows me to set a total of 4. And apparently the tunnel interfaces for access server are "as0t0" - "as0t15", giving me 16 total options. And as far as i can tell it's completely random as to which tunnel i connect to and i still need one of those 4 available for my standard ethernet connection when I'm on my home network. Although it's still too painful to connect and reconnect until i get the right tunnel, especially since it seems to (usually) attempt to reconnect to the previous tunnel interface... I've tried using a wildcard for the number at the end of the interface to give minidlna a way of using more than 4, but this doesn't work either. Anyway, i have a 3 out of 16 chance of getting one that works. But when i do land on one that is set it works perfectly, so i figured i should be able to make access server either use a specific tunnel based on a device or simply limit the amount available tunnels to 3 since i will only ever have 2 devices connected at a time anyway this didn't seem like a downside, unless I'm missing something? But then it comes to doing one of those 2 things...
I've searched and searched and i can't seem to find any way to change any settings whatsoever regarding the tunnel interfaces, much less so that OVPNAS will only use as0t0 - as0t3 or to make it use a specific tunnel for certain devices. If this is possible (or not possible and i need to use the regular openvpn service) or I'm missing some obvious answer please let me know.
I might not be using the right terminology when I'm searching but I'm at a loss and i figured it was time to ask for help. If anyone can spare a second to point me where i need to go to find the correct info, I'd really appreciate it. Thanks for your time.