We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


How to set NFS share shown on another subnet? (NFS by Snakeoil OS NAS kernel)
#2
(04-Apr-2022, 11:59 PM)cenz Wrote: Hi kith,

Before, I set all devices into same LAN network, all IP like 192.168.1.xxx, all works beauty.
But now I get a new router which only has 2 LAN ports (#1 LAN Port=#1 Subnet, #2 LAN Port=#2 Subnet )
So now the situation is below:

192.168.1.5 (Snakeoil OS NAS kernel device)
192.168.2.2 (Windows 7 Ultimate PC, I want this device can see share folder from NFS)

I tried edit /etc/exports file from Snakeoil OS, like:
/media/music 192.168.1.2(rw,sync,no_subtree_check) <--- It works if the same subnet
/media/music 192.168.2.2(rw,sync,no_subtree_check) <---Not works at this moment

Thank very much!!
Tony

Hi Tony, you'll need to setup your firewall/router to pass NFS traffic. You can do it two ways:

Allow all
Allow all traffic to pass through between the network. While this will work it defeats the purposes of having two different subnet

Allow NFS
Allow only NFS traffic to pass through. Now this will take a bit of effort because NFS ports are randomised on each connection. So you have to fix them.
  1. Go to your NAS, and find the settings to change these. I'm using TrueNAS, your NAS software may vary (or even missing these options)
       
    Use a number that's greater than 10000
  2. Next go to your firewall settings, and allow TCP and UDP of the 3 ports above, plus these: 111, 2049
Try having the NAS on the same subnet and different and see which way you prefer. There are pros and cons of both, but at the end of the day use the option that sounds best Smile
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
RE: How to set NFS share shown on another subnet? (NFS by Snakeoil OS NAS kernel) - by agent_kith - 05-Apr-2022, 07:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil with Ubuntu Desktop ? Snoopy8 8 930 02-Jun-2025, 09:38 AM
Last Post: Snoopy8
  [SOLVEDHow to delete MPD music file database in Snakeoil? hkphantomgtr 4 649 29-Apr-2025, 02:46 PM
Last Post: hkphantomgtr
  [SOLVED[split] MediaCenter33 not starting ing Snakeoil 1.4.3 (High End U3) kmwgr 4 695 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 812 23-Feb-2025, 07:47 PM
Last Post: petemac110
  Snakeoil OS 1.4 problem with Squeezelite and Lyrion mloutfie 14 2,445 14-Feb-2025, 07:00 AM
Last Post: mloutfie



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2213
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1629
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9268
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 930
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 693
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5158
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5673
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15326
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4684
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1260

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.