Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] NFS through a firewall
Date: Mon, 14 Apr 2008 12:54:47
Message-Id: y65lk3g7g5f.fsf@minnie.esd.mun.ca
In Reply to: Re: [gentoo-user] [OT] NFS through a firewall by Dan Farrell
1 Hello,
2
3 Dan Farrell <dan@×××××××××.cx> writes:
4
5 > On Fri, 11 Apr 2008 11:19:11 -0230
6 > Roger Mason <rmason@×××××××.ca> wrote:
7 >
8 >> Hello,
9 >>
10 >> I'm trying to configure the firewall on a client to allow that client
11 >> to mount an nfs directory. The client runs a netfilter firewall, the
12 >> server uses tcpwrapper.
13 >>
14 >> Can someone help me figure out what must be put in my iptables script
15 >> to get this to work?
16
17 [snip]
18
19 >
20 > Accept all incoming and outgoing connections on the client that
21 > originate from or go to the server. It would look something like this:
22 >
23 > iptables -I INPUT -s 134.153.37.55 -j ACCEPT
24 > iptables -I INPUT -s 134.153.37.55 -j ACCEPT
25 >
26 > now make sure those will work with your config before just blindly
27 > setting them up!
28
29 Thank you, this works:
30
31 > iptables -I INPUT -s 134.153.37.55 -j ACCEPT
32 > iptables -I OUTPUT -s 134.153.37.55 -j ACCEPT
33
34 Many thanks to all who replied.
35
36 Roger
37 --
38 gentoo-user@l.g.o mailing list