Using ssh tunnel to port NFS through firewall and private network
network structure: machine1 >> firewall >>>- Internet -> machine2 nfs_server Step 1: on nfs_server, add line in /etc/exports: nfs_dir 127.0.0.1(rw,async,insecur) Also, add line in /etc/sysconfig/nfs MOUNTD_PORT <port_number3 The port_number3 is a large number, for example, 32334, Then do "service nfs restart" This allows the nfs mount point is accessible from the box itself; Step 2: […]
