It looks like you're new here. If you want to get involved, click one of these buttons!
I want to mount a NFS share on my VM. But my VM has a firewall. What port to open?
Port 2049 if I'm correct
I did. But still connection timeout
Have you tried disabling the firewall and checking the connection? Maybe its not the firewall blocking it.
Reading RH docs say port 111 too. https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/s2-nfs-nfs-firewall-config.html
Try this first: service iptables stop, and see if it works for you.
@dhamaniasad said: Try this first: service iptables stop, and see if it works for you.
It is a firewall installed on router...
@mikeg said: Have you tried disabling the firewall and checking the connection? Maybe its not the firewall blocking it.
I can't disable it. Firewall is external
I used to have problems setting up nfs behind a hardware firewall. I've written a post about it back then. hope it will help
http://www.akamaras.com/linux/setting-up-nfs-behind-firewall-in-centos/
2049, 111, 4045
Have a look at this site - http://tldp.org/HOWTO/NFS-HOWTO/security.html
Comments
Port 2049 if I'm correct
I did. But still connection timeout
Have you tried disabling the firewall and checking the connection? Maybe its not the firewall blocking it.
Reading RH docs say port 111 too. https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/s2-nfs-nfs-firewall-config.html
Try this first: service iptables stop, and see if it works for you.
It is a firewall installed on router...
I can't disable it. Firewall is external
I used to have problems setting up nfs behind a hardware firewall. I've written a post about it back then. hope it will help
http://www.akamaras.com/linux/setting-up-nfs-behind-firewall-in-centos/
2049, 111, 4045
Have a look at this site - http://tldp.org/HOWTO/NFS-HOWTO/security.html