Can't telnet or FTP

2003-01-13 Thread Jeff LaMarche
I just did a clean install of 4.7 (I was running 4.0 previously) on a 
machine that I'm using as primarily as a network gateway and firewall 
and also as a file server. It installed fine and is working natd  ipfw 
are working beautifully. However, I am unable to telnet or ftp into the 
box using either adaptor's ip address - I get a connection refused 
message. I did set up anonymous ftp access during the install.

I'm assuming that I did something wrong in the setup to make it disable 
remote access. Can anyone tell me what I might have done and how I can 
re-enable remote access to this box?

Thanks
Jeff LaMarche


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Can't telnet or FTP

2003-01-13 Thread Rus Foster
On Mon, 13 Jan 2003, Jeff LaMarche wrote:

 I just did a clean install of 4.7 (I was running 4.0 previously) on a
 machine that I'm using as primarily as a network gateway and firewall
 and also as a file server. It installed fine and is working natd  ipfw
 are working beautifully. However, I am unable to telnet or ftp into the
 box using either adaptor's ip address - I get a connection refused
 message. I did set up anonymous ftp access during the install.


Do ps -ef | grep inetd to see if you have inetd running as this provides
the telnet and ftp service. If not have a look at /etc/rc.conf and see if
you have inetd_enable

Hope this helps
Rus
--
http://www.65535.net - $100 for a lifetime UNIX shell account - Limited offer
MSN: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Can't telnet or FTP

2003-01-13 Thread Barry Byrne

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff LaMarche

 I just did a clean install of 4.7 (I was running 4.0 previously) on a
 machine that I'm using as primarily as a network gateway and firewall
 and also as a file server. It installed fine and is working natd  ipfw
 are working beautifully. However, I am unable to telnet or ftp into the
 box using either adaptor's ip address - I get a connection refused
 message. I did set up anonymous ftp access during the install.

 I'm assuming that I did something wrong in the setup to make it disable
 remote access. Can anyone tell me what I might have done and how I can
 re-enable remote access to this box?

Jeff:

You need to uncomment the relevant entries in /etc/inetd.conf and the
restart inetd.

BTW: you might want to consider using ssh in place of telnet. ssh is enabled
by default
and provides an encrypted session.

Cheers,

Barry


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Jack L. Stone
At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
I just did a clean install of 4.7 (I was running 4.0 previously) on a 
machine that I'm using as primarily as a network gateway and firewall 
and also as a file server. It installed fine and is working natd  ipfw 
are working beautifully. However, I am unable to telnet or ftp into the 
box using either adaptor's ip address - I get a connection refused 
message. I did set up anonymous ftp access during the install.

I'm assuming that I did something wrong in the setup to make it disable 
remote access. Can anyone tell me what I might have done and how I can 
re-enable remote access to this box?

Thanks
Jeff LaMarche


You probably need to enable the services lines for ftp and ftp in
/etc/inetd.conf and restart inetd.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Jack L. Stone
At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
I just did a clean install of 4.7 (I was running 4.0 previously) on a 
machine that I'm using as primarily as a network gateway and firewall 
and also as a file server. It installed fine and is working natd  ipfw 
are working beautifully. However, I am unable to telnet or ftp into the 
box using either adaptor's ip address - I get a connection refused 
message. I did set up anonymous ftp access during the install.

I'm assuming that I did something wrong in the setup to make it disable 
remote access. Can anyone tell me what I might have done and how I can 
re-enable remote access to this box?

Thanks
Jeff LaMarche


Whoops! I meant ftp and telnet not ftp and ftp although you've
probably know this by now.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can't telnet or FTP

2003-01-13 Thread Giorgos Keramidas
On 2003-01-13 09:37, [EMAIL PROTECTED] (Jack L. Stone) wrote:
 At 10:06 AM 1.13.2003 -0500, Jeff LaMarche wrote:
 I just did a clean install of 4.7 (I was running 4.0 previously) on
 a machine that I'm using as primarily as a network gateway and
 firewall and also as a file server. It installed fine and is
 working natd  ipfw are working beautifully. However, I am unable
 to telnet or ftp into the box using either adaptor's ip address - I
 get a connection refused message. I did set up anonymous ftp
 access during the install.

 Whoops! I meant ftp and telnet not ftp and ftp although you've
 probably know this by now.

1. Check your ipfw rules to make sure that the firewall setup will not
   block incoming telnet or ftp connections.
2. Edit /etc/rc.conf and enable inetd (if it isn't enabled already).
3. Edit /etc/inetd.conf and uncomment ftp  telnet services.
4. Start (or restart, if it's already running) inetd.

Done :)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message