Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 18:24:30 -0500
From:      =?iso-8859-1?Q?Alejandro_Ram=EDrez?= <ales@megared.net.mx>
To:        "Ed Keith" <edk@kew.com>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: which ftp proxy?
Message-ID:  <008901bea705$bd815f40$f9a3f9cf@megared.net.mx>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0086_01BEA6DB.D46FD4E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

    You should try to enable natd, it will do what you want, and its =
better
than having a proxy server, anyway in one case or another, you will be
routing packets fron one interface to another, you can=B4t avoid that,
enabling natd its very simple, just set these lines in the /etc/rc.conf
file:

gateway_enable=3D"YES"           # Set to YES if this host will be a =
gateway.
natd_enable=3D"YES"                 # Enable natd (if firewall_enable =
=3D=3D YES).
natd_interface=3D"fxp0"              # Public interface to use with natd =
(it=B4s
your outside interface).
natd_flags=3D""                           # Additional flags for natd =
(see
"man natd").

Ales

----- Original Message -----
From: Ed Keith <edk@kew.com>
To: Alejandro Ram=EDrez <ales@megared.net.mx>
Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, May 25, 1999 2:18 PM
Subject: Re: which ftp proxy?


> No packets get through the firewall. The firewall system is dual =
homed. No
> packets are routed between the two addresses. (The internal network is
> 192.168.19.x, so it would be very bad if packets were routed.)
> If I want to ftp out I need to log onto the firewall machine and ftp =
from
there
> then ftp again (using an ftp server on the firewall that only connects =
to
the
> inside network) from the firewall to my desktop.
>
>     -EdK
>
> Alejandro Ram=EDrez wrote:
>
> > Hi,
> >
> > If you are behind a firewall, and the ports:
> >
> > ftp-data         20/tcp    #File Transfer [Default Data]
> > ftp-data         20/udp    #File Transfer [Default Data]
> > ftp              21/tcp    #File Transfer [Control]
> > ftp              21/udp    #File Transfer [Control]
> >
> > aren=B4t specifically blocked out by your system administrator (that =
i
don=B4t
> > think they are), you must use the "passive" mode in ftp transfers, =
the
> > "passive" mode must be used always that you are behind a firewall, =
this
is a
> > rule to have a good ftp session, if your system administrator did
> > specifically blocked out this ports, you may ask him to unblock them =
out
(in
> > /etc/rc.firewall), since this is simpler than to install a proxy =
server.
And
> > if you want to have more security in your network, and you have =
already
> > configured ipfw, then you may try to enable "natd" (network address
> > translation), it will let you have private ip addresses in your =
network
and
> > go outside with a public address for all of your machines (instead =
of
> > installing a proxy server) but you still will have to use the =
"passive"
mode
> > in ftp transfers.
> >
> > Ales
> >
> > ----- Original Message -----
> > From: Ed Keith <edk@kew.com>
> > To: Alejandro Ram=EDrez <ales@megared.net.mx>
> > Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG>
> > Sent: Monday, May 24, 1999 11:29 PM
> > Subject: Re: which ftp proxy?
> >
> > > I don't  think that will help since all packets are blocked by the
> > firewall.
> > > I think I need to use a proxy server. But I don't know which one =
would
be
> > > best for my needs. (very small network, light volume, newbe site
admin.,
> > > paranoid domain administrator who may want me to justify why I =
picked
the
> > one
> > > decide to use.)
> > >
> > >     -EdK
> > >
> > >
> > > Alejandro Ram=EDrez wrote:
> > >
> > > > Hi,
> > > >
> > > >     Try the "passive" option in the ftp program.
> > > >
> > > > Ales
> > > >
> > > > ----- Original Message -----
> > > > From: Ed Keith <edk@kew.com>
> > > > To: freebsd-questions <freebsd-questions@FreeBSD.ORG>
> > > > Sent: Sunday, May 23, 1999 6:14 PM
> > > > Subject: which ftp proxy?
> > > >
> > > > > I'm running FreeBSD 2.28 and ipfw. I want to install an ftp =
proxy
so I
> > > > > can connect to ftp sites from behind the firewall. What is
> > recommended?
> > > > >
> > > > > Thanks in advance,
> > > > >     -EdK
> > > > >
> > > > >
> > > > >
> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > with "unsubscribe freebsd-questions" in the body of the =
message
> > > >
> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > with "unsubscribe freebsd-questions" in the body of the message
> > >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

------=_NextPart_000_0086_01BEA6DB.D46FD4E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,<BR><BR>&nbsp;&nbsp;&nbsp; You =
should try to=20
enable natd, it will do what you want, and its better<BR>than having a =
proxy=20
server, anyway in one case or another, you will be<BR>routing packets =
fron one=20
interface to another, you can=B4t avoid that,<BR>enabling natd its very =
simple,=20
just set these lines in the=20
/etc/rc.conf<BR>file:<BR><BR>gateway_enable=3D"YES"&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# Set to YES if this host will be a=20
gateway.<BR>natd_enable=3D"YES"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# Enable natd (if firewall_enable =3D=3D=20
YES).<BR>natd_interface=3D"fxp0"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# Public interface to use with natd (it=B4s<BR>your outside=20
interface).<BR>natd_flags=3D""&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
# Additional flags for natd (see<BR>"man =
natd").<BR><BR>Ales<BR><BR>-----=20
Original Message -----<BR>From: Ed Keith &lt;<A=20
href=3D"mailto:edk@kew.com">edk@kew.com</A>&gt;<BR>To: Alejandro =
Ram=EDrez &lt;<A=20
href=3D"mailto:ales@megared.net.mx">ales@megared.net.mx</A>&gt;<BR>Cc:=20
freebsd-questions &lt;<A=20
href=3D"mailto:freebsd-questions@FreeBSD.ORG">freebsd-questions@FreeBSD.O=
RG</A>&gt;<BR>Sent:=20
Tuesday, May 25, 1999 2:18 PM<BR>Subject: Re: which ftp =
proxy?<BR><BR><BR>&gt;=20
No packets get through the firewall. The firewall system is dual homed.=20
No<BR>&gt; packets are routed between the two addresses. (The internal =
network=20
is<BR>&gt; 192.168.19.x, so it would be very bad if packets were=20
routed.)<BR>&gt; If I want to ftp out I need to log onto the firewall =
machine=20
and ftp from<BR>there<BR>&gt; then ftp again (using an ftp server on the =

firewall that only connects to<BR>the<BR>&gt; inside network) from the =
firewall=20
to my desktop.<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
-EdK<BR>&gt;<BR>&gt;=20
Alejandro Ram=EDrez wrote:<BR>&gt;<BR>&gt; &gt; Hi,<BR>&gt; &gt;<BR>&gt; =
&gt; If=20
you are behind a firewall, and the ports:<BR>&gt; &gt;<BR>&gt; &gt;=20
ftp-data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
20/tcp&nbsp;&nbsp;&nbsp; #File Transfer [Default Data]<BR>&gt; &gt;=20
ftp-data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
20/udp&nbsp;&nbsp;&nbsp; #File Transfer [Default Data]<BR>&gt; &gt;=20
ftp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
21/tcp&nbsp;&nbsp;&nbsp; #File Transfer [Control]<BR>&gt; &gt;=20
ftp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
21/udp&nbsp;&nbsp;&nbsp; #File Transfer [Control]<BR>&gt; &gt;<BR>&gt; =
&gt;=20
aren=B4t specifically blocked out by your system administrator (that=20
i<BR>don=B4t<BR>&gt; &gt; think they are), you must use the "passive" =
mode in ftp=20
transfers, the<BR>&gt; &gt; "passive" mode must be used always that you =
are=20
behind a firewall, this<BR>is a<BR>&gt; &gt; rule to have a good ftp =
session, if=20
your system administrator did<BR>&gt; &gt; specifically blocked out this =
ports,=20
you may ask him to unblock them out<BR>(in<BR>&gt; &gt; =
/etc/rc.firewall), since=20
this is simpler than to install a proxy server.<BR>And<BR>&gt; &gt; if =
you want=20
to have more security in your network, and you have already<BR>&gt; &gt; =

configured ipfw, then you may try to enable "natd" (network =
address<BR>&gt; &gt;=20
translation), it will let you have private ip addresses in your=20
network<BR>and<BR>&gt; &gt; go outside with a public address for all of =
your=20
machines (instead of<BR>&gt; &gt; installing a proxy server) but you =
still will=20
have to use the "passive"<BR>mode<BR>&gt; &gt; in ftp transfers.<BR>&gt; =

&gt;<BR>&gt; &gt; Ales<BR>&gt; &gt;<BR>&gt; &gt; ----- Original Message=20
-----<BR>&gt; &gt; From: Ed Keith &lt;<A=20
href=3D"mailto:edk@kew.com">edk@kew.com</A>&gt;<BR>&gt; &gt; To: =
Alejandro Ram=EDrez=20
&lt;<A =
href=3D"mailto:ales@megared.net.mx">ales@megared.net.mx</A>&gt;<BR>&gt;=20
&gt; Cc: freebsd-questions &lt;<A=20
href=3D"mailto:freebsd-questions@FreeBSD.ORG">freebsd-questions@FreeBSD.O=
RG</A>&gt;<BR>&gt;=20
&gt; Sent: Monday, May 24, 1999 11:29 PM<BR>&gt; &gt; Subject: Re: which =
ftp=20
proxy?<BR>&gt; &gt;<BR>&gt; &gt; &gt; I don't&nbsp; think that will help =
since=20
all packets are blocked by the<BR>&gt; &gt; firewall.<BR>&gt; &gt; &gt; =
I think=20
I need to use a proxy server. But I don't know which one =
would<BR>be<BR>&gt;=20
&gt; &gt; best for my needs. (very small network, light volume, newbe=20
site<BR>admin.,<BR>&gt; &gt; &gt; paranoid domain administrator who may =
want me=20
to justify why I picked<BR>the<BR>&gt; &gt; one<BR>&gt; &gt; &gt; decide =
to=20
use.)<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; =
-EdK<BR>&gt;=20
&gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; Alejandro Ram=EDrez =
wrote:<BR>&gt;=20
&gt; &gt;<BR>&gt; &gt; &gt; &gt; Hi,<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; =
&gt;=20
&gt;&nbsp;&nbsp;&nbsp;&nbsp; Try the "passive" option in the ftp=20
program.<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Ales<BR>&gt; &gt; =
&gt;=20
&gt;<BR>&gt; &gt; &gt; &gt; ----- Original Message -----<BR>&gt; &gt; =
&gt; &gt;=20
From: Ed Keith &lt;<A =
href=3D"mailto:edk@kew.com">edk@kew.com</A>&gt;<BR>&gt; &gt;=20
&gt; &gt; To: freebsd-questions &lt;<A=20
href=3D"mailto:freebsd-questions@FreeBSD.ORG">freebsd-questions@FreeBSD.O=
RG</A>&gt;<BR>&gt;=20
&gt; &gt; &gt; Sent: Sunday, May 23, 1999 6:14 PM<BR>&gt; &gt; &gt; &gt; =

Subject: which ftp proxy?<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; =
&gt; I'm=20
running FreeBSD 2.28 and ipfw. I want to install an ftp proxy<BR>so =
I<BR>&gt;=20
&gt; &gt; &gt; &gt; can connect to ftp sites from behind the firewall. =
What=20
is<BR>&gt; &gt; recommended?<BR>&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; =
&gt; &gt;=20
&gt; Thanks in advance,<BR>&gt; &gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp;&nbsp;=20
-EdK<BR>&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; &gt;<BR>&gt; =
&gt; &gt;=20
&gt; &gt;<BR>&gt; &gt; &gt; &gt; &gt; To Unsubscribe: send mail to <A=20
href=3D"mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A><BR>&gt; =
&gt; &gt;=20
&gt; &gt; with "unsubscribe freebsd-questions" in the body of the=20
message<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; To Unsubscribe: =
send mail=20
to <A =
href=3D"mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A><BR>&gt; =
&gt;=20
&gt; &gt; with "unsubscribe freebsd-questions" in the body of the=20
message<BR>&gt; &gt; &gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; To =
Unsubscribe: send=20
mail to <A =
href=3D"mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</A><BR>&gt;=20
with "unsubscribe freebsd-questions" in the body of the=20
message</FONT></DIV></BODY></HTML>

------=_NextPart_000_0086_01BEA6DB.D46FD4E0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008901bea705$bd815f40$f9a3f9cf>