Apache/FTP on unusual ports

From: Fernando Vaz (fernandovaz_at_matrix.com.br)
Date: 11/25/04


Date: Wed, 24 Nov 2004 23:30:06 -0200

Hi there folks,

I need to run a web server and a FTP server at home, but my ISP in
theory doesn't allow this, so I need to run both servers on different
ports (8080 for Apache and some other high-number ports, like
10020-10021, for instance, for FTP). What's the best way to do this?
First thing that came to my mind is to create a set of iptables rules,
redirecting requests for the correct ports, and setting apache to
operate in those ports. How do I do this? Any other methods?
Thnx in advance,
Fernando Vaz



Relevant Pages

  • Re: Interesting webserver intrusion (apache 1.3.31, mod_ssl 2.8.18, php 4.3.7)
    ... > fairly tight(only allowing 4 ports in), but perhaps I could tighten it ... The host systems firewall rules govern the access to the jailed system. ... What connections does your server need to ... Perhaps there is a 0-day for your ftp server out there. ...
    (Incidents)
  • Re: Why does passive FTP work behind router/firewall?
    ... >> the router supported UPNP, ... >> is reacing the server.. ... >> by dynamicaly opening data ports and mappings... ... > machine having the ftp server. ...
    (comp.security.firewalls)
  • Re: ftp problem
    ... ports on ISA on the client's end? ... The remote FTP server is on a remote ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS - FTP PASV port range setting
    ... You would probably be better off posting this is one of the Server ... > i.e. tell the client to transfer data on server-specified ports. ... > cannot find any way to specify the ports to use for data transfer. ... > my ftp server cannot transfer data to and from remote clients, ...
    (microsoft.public.windowsxp.general)
  • Re: Whats a decent modem/router for tech savy user?
    ... It is not possible to route or deny traffic to specific ports based on the source IP address. ... But it wont route back inside the LAN - needs internal DNS server spoofing. ... Normally, this option should be Enabled, so that an Internet connection will be made automatically, whenever Internet-bound traffic is detected. ... Specifying a Default DMZ Server allows you to set up a computer or server that is available to anyone on the Internet for services that you haven't defined. ...
    (uk.telecom.broadband)