LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

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

Rep: Reputation: 8
NFSv4 Being Blocked By Firewall


I have a bridge br0 which runs on my host. I have a kvm guest(192.168.1.5) 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 192.168.1.5 --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
macemoneta
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: 327Reputation: 327Reputation: 327Reputation: 327
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
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 224

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.
 
  


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
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


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