This board is now closed. The Blackhole image ended in 2020. The board will remain available in Read Only Mode, so all the posts from the last 15+ years are not lost. We thank you for being part of the community for the last 15+ years. You can join the OpenBh board if you have not already done so at www.openbh.net.

Change ftp port

Ardito

Vu+ Newbie
Does anyone knows if there is a way to change the default ftp port into BH image from default 21 to another of my choice?
My provider uses port 21 for voip and my router can't remap to another port (and I can't replace it without losing voip...).

Thanks in advance!
 
Does anyone knows if there is a way to change the default ftp port into BH image from default 21 to another of my choice?
My provider uses port 21 for voip and my router can't remap to another port (and I can't replace it without losing voip...).

Thanks in advance!

I hope to be proved wrong but i think that yuo can't because is fixed.
 
The port number is defined in /etc/services. So change the port number then disable/enable ftp (blue -> blue -> ftp panel)

Default entry in /etc/services for ftp is
Code:
ftp            21/tcp

Change 21 to something else, e.g. 1021
Code:
ftp            1021/tcp
 
Back
Top