LinuxQuestions.org
Visit Jeremy's Blog.
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 04-23-2004, 10:26 PM   #1
h00chman
LQ Newbie
 
Registered: Mar 2004
Location: Spokane, WA
Distribution: Mandrake 9.1, 9.2, RH9, OpenBSD
Posts: 13

Rep: Reputation: 0
NFS via NAT (DSL) Router??


I am trying to get a small office network to share data between two linux machines:

Topography
\/<-Computer1 w/ Static Public IP
|
DSL =>ROUTER(using nat)
|
/\<-Computer 2 using NAT'd internal DHCP

The /etc/exports file is good on Computer1 with the public IP

The /etc/hosts is set up properly on Computer 2 as is the HOSTNAME in /etc/sysconfig/network.

I can ping Computer 1 using computer 2 but when I try to mount the nfs partition I get an error message saying that the "Permission Denied" by the server?

Ultimately I would like to have my computers set up in the following topography...but need to sort out the NFS problems.

\/<-Computer1 w/ Static Public IP (RH9.0)
|
DSL =>ROUTER(using nat) \
|
/\<-VoIP MTU (digital phone w/ static public IP)
|
/\Computer 2 using NAT'd internal DHCP of MTU
(Mandrake 9.1)

This configuration has two internal networks and the public network. Still, I can ping Computer 2, I can ssh, sftp, etc. to Computer1....I just can't get an NFS connection.

I am curious to know if Samba may be the best alternative in this scenario. I realize that it is geared towards sharing with Windows clients, but it doesn't base permissions soley on hostname and/or address and allows access via an individual ACL.

Seen a couple of posts similar to this..but no anwers.

Any help/feedback would be greatly appreciated.

Last edited by h00chman; 04-23-2004 at 10:31 PM.
 
Old 04-24-2004, 12:00 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
have you added a portmap section to hosts.allow on you server.

for example portmap: 10.0.1.97
where 10.0.1.97 is replaced with your dsl routers public ip.

Another approach since you have 2 offices is to setup a vpn between them, routers these days even have this functionality. then all you office computers can see each other as if they were all on the same network.
 
Old 04-24-2004, 12:10 AM   #3
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
just on the voip thing, digital phones like about 128kbit bi-directional transfer. so if both offices have a 1.5m/256kbit link you will only be able to hold 2 GOOD quality phone calls. so you should also look into getting something like a synchronous 512/512 link. And the vpn is the best solution as it will solve the ip phone thing at the same time.
 
Old 06-01-2004, 05:07 PM   #4
rohitspage
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
networking

Hey!
Even I am getting the same error "Permission denied"
Did u get a solution to your problem#1
Kindly share it with me
Regards
Rohit Sharma
 
Old 06-02-2004, 11:58 AM   #5
h00chman
LQ Newbie
 
Registered: Mar 2004
Location: Spokane, WA
Distribution: Mandrake 9.1, 9.2, RH9, OpenBSD
Posts: 13

Original Poster
Rep: Reputation: 0
No solution yet

No luck, I've just made up a shaky temp solution by settting my server name into the hosts file and simply sftp'ing the other server to get files. Not fast and not practical for a permanent solution...but it lets me work for the time being.

I guess one could do it via Samba, but the system overhead is pretty high to use it as a final solution.

Like you, would be grateful to find how to make it work. Maybe the new kernels will allow for something like this.??
 
  


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
Pointer to Howto DSL/Nat/IP Accounting webwiznz Linux - Networking 10 05-30-2004 08:18 AM
Debian Nat Client via Dlink DSL-502T Router sherifff Linux - Networking 0 05-05-2004 12:23 PM
dsl router + NAT + ssh = problem valleyman Linux - Networking 5 12-10-2003 09:19 AM
NAT / Router RH9 kdd281 Linux - Networking 3 11-24-2003 02:02 PM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 04:09 AM

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

All times are GMT -5. The time now is 12:53 AM.

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