Jsmart
03-06-2008, 12:27 AM
We have been getting a lot of requests lately to explain how this works; so here is an example :)
Example:
application 1: IN -> NAS (connected on nfs terminal)
application 2: WEB5 -> OUT (connected on the fs terminal of WEB)
OUT on app2 is configured to forward traffic to the IP of app1:IN
app1:IN has the following configuration:
allowed_hosts = ip of app2.OUT (proper configuration of allowed/denied hosts
is important as otherwise the shares will be open to the world).
iface1_protocol = tcp
iface1_port = 111
iface2_protocol = tcp
iface2_port = 2049
iface3_protocol = none
iface3_port = 0
iface4_protocol = 17
iface4_port = 0
This provides access to all UDP ports + tcp 111 and 2049 which is enough for
nfs to work. WEB5 mounts its fs successfully from the other appliance.
--Jessie
Example:
application 1: IN -> NAS (connected on nfs terminal)
application 2: WEB5 -> OUT (connected on the fs terminal of WEB)
OUT on app2 is configured to forward traffic to the IP of app1:IN
app1:IN has the following configuration:
allowed_hosts = ip of app2.OUT (proper configuration of allowed/denied hosts
is important as otherwise the shares will be open to the world).
iface1_protocol = tcp
iface1_port = 111
iface2_protocol = tcp
iface2_port = 2049
iface3_protocol = none
iface3_port = 0
iface4_protocol = 17
iface4_port = 0
This provides access to all UDP ports + tcp 111 and 2049 which is enough for
nfs to work. WEB5 mounts its fs successfully from the other appliance.
--Jessie