1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can the betaftpd port be changed?

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by makem, Jan 17, 2012.

  1. makem

    makem Member

    Can the port 21 be changed for a less common one?

    I want to access the ftp server from the internet and prefer to use an uncommon port.
     
  2. Trevor Jasper

    Trevor Jasper Member

  3. xyz321

    xyz321 Well-Known Member

    If it is changed you may have problems with the firewall. A firewall normally monitors port 21 in order to work out which ports to allow for the data connection. Might be OK in passive mode though.
     
  4. af123

    af123 Administrator Staff Member

    It is a compile-time option so currently no. As xyz321 says, you might experience problems if you run it on a non-standard port unless you exclusively use passive mode. Can your router not do a port rewrite as part of its address translation? (most can)
     
  5. makem

    makem Member

    Ok, if it cannot be done without a compile then I understand. I ran a server for many years on a high ftp port number and of course forwarded the port. I forward port 21 now to access the humax. I am not sure if my router can translate the port address but will investigate. I doubt it as I have seen no option other than a direct forward. I have experience of other routers and I agree, they could.
     
  6. af123

    af123 Administrator Staff Member

    If not, I can recompile the package to make it a run-time option. Running on a non-standard port will certainly reduce the amount of interest it generates, although not eliminate it entirely.
     
  7. makem

    makem Member

    I feel I cannot ask you to do that. Most people will use the server from the LAN so it would be unfair for me to ask you to do this for the minority. What I would ask is that if you have occasion to recompile then you consider it at that time. Your work here is much appreciated and I don't want to increase the burden.
    My router has a 'port triggering' option but I don't think that is suitable for ftp although I stand to be corrected.