• Home
  • Systems
  • Networking
  • WordPress
  • Web
  • Geekery

Analysis and Review

Enable FTP FreeBSD and Allow Only Localhost

February 3, 2010 by Kurt Turner

Enable FTP on your FreeBSD server and allow only your localhost (local machine) access to the ftpd server.

The inetd server should be run at boot time by /etc/rc. It then listens for connections on certain internet sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. The server program is invoked with the service socket as its standard input, output and error descriptors. After the program is finished, inetd continues to listen on the socket.

To enable FTPD Open /etc/inetd.conf file and remove the hash from:
[php]ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l[/php]
Then restart inetd.conf
[php]/etc/rc.d/inetd restart
or
/etc/rc.d/inetd onerestart[/php]
Or allow only 127.0.0.1 (localhost) to connect to your ftp server:
[php]ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -D -a 127.0.0.1[/php]

Filed Under: Systems Tagged With: freebsd, FTP, FTPD, Localhost, server

Latest and Greatest

Apache vs Nginx for WordPress

Certbot Lets Encrypt And WordPress MU Multi-Site

How To Find and Replace Multiple File in MS Word

How To Get Stretch Res on Windows 10 AMD Radeon For Game Play

This is the ASUS Chromebox we've been running for 2 years as our "brain" for our home grown digital display kiosk.

DIY Digital Signage Bulletin Board or Kiosk

© Copyright Analysis And Review · All Rights Reserved ·