Any help with the 2 problems would be greatly appreciated.
The setup:
Primary router RT-AC86U with latest Asus firmware 3.0.0.4.386_48260 (192.168.1.1) acting as DHCP server for the LAN, VPN server (OpenVPN - 10.8.0.1) and has samba enabled with HDD attached - Secondary router RT-AC56U with Asus firmware 3.0.0.4.382_51641 acting as AP with IP 192.168.1.2 which also has samba enabled with HDD attached.
1. I can access all the LAN resources through VPN including AP admin page, I can ping and tracert the AP, but I can't access the samba share on the AP through VPN even though all the routing between VPN subnet and LAN subnet are ok (samba share on RT-AC86 can be accessed and also a share on another computer).
I narrowed down the problem to the samba config file on the AP:
interfaces = lo br0 192.168.1.2/255.255.255.0
hosts allow = 127.0.0.1 192.168.1.2/255.255.255.0
hosts deny = 0.0.0.0/0
The primary router has automatically added an additional allowed host in the samba conf when I started the VPN server, the subnet 10.8.0.0:
interfaces = lo br0 192.168.1.1/255.255.255.0
hosts allow = 127.0.0.1 192.168.1.1/255.255.255.0 10.8.0.0/255.255.255.0
hosts deny = 0.0.0.0/0
I need help adding the subnet to the allowed hosts in the smb.conf on the AP. I've searched for a solution but I only found pieces of information. I don't have much experience with configuring the router through ssh so a step by step would be greatly appreciated.
2. What setup would you recommend for streaming video files from the local network. Streaming from the samba share through VPN on an ios device using FE File Explorer or VLC doesn't work with large files (anything bigger than 5 GB / with a high bitrate), it keeps buffering, with smaller files 1-2 GB works ok. I've also tried the webdav protocol (AIcloud), same problem. I also tried FTP through VPN and (oddly) this protocol works well on large files but I'm not sure if it's streaming or downloading. The file opens immediately and with no buffering.
I'd prefer not to start all the servers available and use the current configuration VPN - samba share for all purposes like accessing files and streaming. Is there a way to tweak this setup so that I can stream large files?
My link is 500 down / 25 up
On my phone I use 5G which has speeds of 200 down / 40 up on average.
Thank you for your help!
The setup:
Primary router RT-AC86U with latest Asus firmware 3.0.0.4.386_48260 (192.168.1.1) acting as DHCP server for the LAN, VPN server (OpenVPN - 10.8.0.1) and has samba enabled with HDD attached - Secondary router RT-AC56U with Asus firmware 3.0.0.4.382_51641 acting as AP with IP 192.168.1.2 which also has samba enabled with HDD attached.
1. I can access all the LAN resources through VPN including AP admin page, I can ping and tracert the AP, but I can't access the samba share on the AP through VPN even though all the routing between VPN subnet and LAN subnet are ok (samba share on RT-AC86 can be accessed and also a share on another computer).
I narrowed down the problem to the samba config file on the AP:
interfaces = lo br0 192.168.1.2/255.255.255.0
hosts allow = 127.0.0.1 192.168.1.2/255.255.255.0
hosts deny = 0.0.0.0/0
The primary router has automatically added an additional allowed host in the samba conf when I started the VPN server, the subnet 10.8.0.0:
interfaces = lo br0 192.168.1.1/255.255.255.0
hosts allow = 127.0.0.1 192.168.1.1/255.255.255.0 10.8.0.0/255.255.255.0
hosts deny = 0.0.0.0/0
I need help adding the subnet to the allowed hosts in the smb.conf on the AP. I've searched for a solution but I only found pieces of information. I don't have much experience with configuring the router through ssh so a step by step would be greatly appreciated.
2. What setup would you recommend for streaming video files from the local network. Streaming from the samba share through VPN on an ios device using FE File Explorer or VLC doesn't work with large files (anything bigger than 5 GB / with a high bitrate), it keeps buffering, with smaller files 1-2 GB works ok. I've also tried the webdav protocol (AIcloud), same problem. I also tried FTP through VPN and (oddly) this protocol works well on large files but I'm not sure if it's streaming or downloading. The file opens immediately and with no buffering.
I'd prefer not to start all the servers available and use the current configuration VPN - samba share for all purposes like accessing files and streaming. Is there a way to tweak this setup so that I can stream large files?
My link is 500 down / 25 up
On my phone I use 5G which has speeds of 200 down / 40 up on average.
Thank you for your help!