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 |
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. |
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 |
All times are GMT -5. The time now is 08:43 AM. |