To nfs mount a machine outside of the firewall where you can edit
/etc/services on the external box:
In /etc/services on firewall & external machine :
mount yyy/udp
where yyy is up to you !!
In firewall script :
ipfwadm -I -a accept -P udp -W eth0 -S xxx.xxx.xxx.xxx/32 111 -D $INET
ipfwadm -I -a accept -P udp -W eth0 -S xxx.xxx.xxx.xxx/32 yyy -D $INET
ipfwadm -I -a accept -P udp -W eth0 -S xxx.xxx.xxx.xxx/32 2049 -D $INET
ipfwadm -O -a accept -W eth0 -S $INET -D $ANY
where eth0 is the external interface & where xxx.xxx.xxx.xxx is the address
of the machine you want to mount & yyy is where you allocated mount in
/etc/services
Works for me !!
-----Original Message-----
From: Andreas Rava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, October 15, 1998 10:46 PM
Subject: NFS through a firewall with masquerading
>Hello
>
>Does anyone can tell me if mounting through a firewall(ipfwadm) with
>masquerading works ?
>
>Andreas
>---
>_____________________________________________________________________
>Andreas Rava Uptime Object Factory Inc
>Consultant Web Engineering/Consulting
>eidg. dipl. Wirtschaftsinformatiker HF Software Development
>[EMAIL PROTECTED] Technopark Bern, Morgenstrasse 129
><http://www.uptime.ch CH-3018 Bern/Switzerland
>Phone +41 31 992 41 41 Fax +41 31 992 41 42
>-
>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]