LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2003, 04:36 PM   #1
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
Two boxes on university network: NFS Questions


I have two Mandrake 9.1 boxes connected directly to the network at my University. They aren't sharing a connection; each taps directly into the network through 10baseT cables.

I want these boxes to be networked together so i can read/write my papers and play mp3s no matter which box I'm using.

Question--do I need to set up a LAN to do this?

I've been reading up on NFS, but it seems that it is 'dangerous' to share over the internet. I am unsure whether this applies to me; my computers aren't wired to each other, but they are wired into the university network. These computers have priveleged access to all sorts of resources, so am I essentially already part of one big LAN? Or are my computers as much of strangers to each other as any other two boxes on the net?

I'm assuming I'll just export/import directories using Webmin and NFS. Is this wrong?
 
Old 09-30-2003, 02:17 PM   #2
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
I think you mean that both of these machines have static IP addresses. If this is so, use iptables to allow all connections from the two machines, and block all others.

Here's the nitty-gritty: http://www.linuxguruz.com/iptables/h...les-HOWTO.html

but something like

iptables -s ! [friendly ipaddress] -d 0/0 -j DENY

then edit /etc/exports to allow only your buddy machine:
/var/mp3 [friendly ip address](rw,rootsquash)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba, NFS and two boxes under Mandriva with a dsl-504t grenier Linux - Networking 7 03-29-2006 07:21 AM
Networking 2 linux boxes with NFS?? ludwig W SUSE / openSUSE 4 10-16-2005 03:09 PM
NFS problem networking 2 RH9 boxes rblampain Linux - Networking 11 10-25-2004 12:05 AM
university dhcp network problem mwa Linux - Networking 18 12-08-2003 12:14 AM
University of Michigan network configuration figgypower Linux - Networking 4 09-04-2003 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration