|
#1
| |||
| |||
| changing the ftpd port
Hi all, I want to change the port ftpd uses. :) Currently my Mac is behind a Linksys firewall/router. Ports 21, 22, and 80 are open. I want to put the ftpd on some non-standard port just to add a little to security. As a test, I went into /etc/services and changed ftp's line to look like this: ftp 2121/tcp Then I did a kill -HUP <inetd pid>. From the outside I could still connect through port 21. So then I just killed inetd and manually restarted it. Same problem. I still connected at port 21. Is there something special I need to do? Any special configuration file I need to edit? Help:) |
|
#2
| |||
| |||
|
err stupid message board. I kull -HUP'd the inetd PID :)
|
|
#3
| ||||
| ||||
|
In inetd.conf there should be a line that calls ftpd, if you add a -p [portnumber] to the end and restart, it should work. -jdog |
|
#4
| |||
| |||
|
Is that the only way to do it though?
|
|
#5
| ||||
| ||||
|
There might be an ftpd config file somewhere that has an option to set the port? You may also be able to change it via netinfo manager? I don't know. -jdog |
|
#6
| |||
| |||
|
I searched for anything with ftpd in it.. No conf file. I doubt netinfo manages port information. This is all handled at a lower level. Kinda weird that I'd have to specify the port on the command line in inetd but who knows. |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing default FTP port in 10.2 | gatorparrots | Unix & X11 | 2 | October 6th, 2002 04:04 PM |
| Changing the web port | HECTORdaBIZATCH | Mac OS X System & Mac Software | 4 | January 20th, 2002 10:23 PM |
| help changing port that ftp serves on (instead of 21) | seney | Apple News, Rumors & Discussion | 1 | June 18th, 2001 04:13 PM |
| Changing the FTP port in OSX | PipoCanaja | Mac OS X System & Mac Software | 4 | May 28th, 2001 05:26 AM |