LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-13-2006, 10:21 AM   #1
gislil
LQ Newbie
 
Registered: Sep 2006
Location: Reykjavik
Distribution: Fedora
Posts: 6

Rep: Reputation: 0
NFS - How can I direct traffic to a specific nic?


Hi all

I have two machines, one running RedHat Enterprise 4 (A) and the other running RedHat 9 (B). A is on 3 networks but B is only on one and I had set up NFS between them, everything working fine. I noticed however that in my firewall I had opened NFS access from A's external interface to B but I want to separate external and internal traffic completely so I want to use A's internal interface.

However, when I changed my firewall settings, nfs stopped working. Is there any way to configure nfs so it uses a particular interface?

Thanks,
Gísli
 
Old 10-13-2006, 11:10 PM   #2
Blindsight
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
You're best off configuring your firewall correctly, lest you may have visitors viewing your nfs share. man iptables. read this http://www.tldp.org/HOWTO/text/NFS-HOWTO concentrate on the hosts.allow hosts.deny portion.

Invest the time to learn iptables well. It's worth it.
 
Old 10-25-2006, 04:59 AM   #3
gislil
LQ Newbie
 
Registered: Sep 2006
Location: Reykjavik
Distribution: Fedora
Posts: 6

Original Poster
Rep: Reputation: 0
My firewall is Astaro so I'm not dealing with iptables directly. I tried setting up a static route in Astaro, so that everything going to B's network would go through A's internal interface. But it still doesn't seem to work. Can this be a configuration issue with NFS? My common sense tells me it isn't but I'm not sure what to try next.

Thanks,
Gísli
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need to route traffic through specific nic cards... Thaidog Linux - Networking 4 07-01-2005 07:31 PM
Blocking outgoing traffic from a specific port billy3 Linux - Security 10 09-24-2004 08:10 PM
logging traffic of specific ports Bug Linux - Security 1 06-15-2004 08:26 AM
Blocking Traffic on a specific port (kazaa) GratePayne Linux - Security 4 05-09-2004 09:10 AM
specific port traffic graph using mrtg newpenguin Linux - Networking 7 12-16-2003 06:00 PM


All times are GMT -5. The time now is 02:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration