Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-29-2011, 07:05 AM   #1
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
NFSv4 Being Blocked By Firewall

I have a bridge br0 which runs on my host. I have a kvm guest( that is attached to the bridge. I am using NFSv4 to share a filesystem on the host with the kvm guest. But for some reason my firewall blocks a NFSV4 connection with iptables -I INPUT -s --dport 2049 -j ACCEPT.

For troubleshooting I am not running any firewall on the KVM Guest.

Of course, with the firewall down on the host NFSv4 works with no problems.

What exacty is wrong?
Old 10-29-2011, 07:35 AM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You can follow this FAQ. The basic problem is that you need to tell NFS to use specific ports, which you can then allow through the firewall.
Old 10-29-2011, 11:58 PM   #3
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Original Poster
Rep: Reputation: 8
Isn't that a little outdated? NFSv4 is completely different than NFSv3. From what I have read, with NFSv4 you only need the port open for the NFS daemon.


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
Does NFSv4 serve only files which are at least readable? (was: NFSv4 and SUID mount) Reuti Linux - Server 1 08-05-2011 04:13 PM
[SOLVED] php includes blocked by firewall fishdink Linux - Security 2 06-18-2009 06:58 PM
NFS blocked by the firewall Tom Douglas Linux - Software 2 06-29-2007 05:49 AM
VPN through firewall with blocked ports Peter1980 Linux - Networking 2 06-03-2005 04:26 AM
Ping Blocked Across Firewall mehargags Linux - Networking 2 01-11-2004 02:15 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:28 PM.

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