1

Is it possible to enter a port range in /etc/services?

view story
linux-howto

http://unix.stackexchange.com – I have a passive FTP server setup that accepts ftp-data connections on a specific set of ports, ie 50000-50100 In the /etc/services file, I found the ftp-data entries: ftp-data 20/tcp # File Transfer [Default Data] ftp-data 20/udp # File Transfer [Default Data] ftp-data 20/sctp # FTP Is it possible to change ftp-data to allow a range of ports instead of an explicit one? I like doing this because, in my firewall (SuSEFireWall), I can specify port names such as ftp or ftp-data, then the firewall looks in /etc/services to forward/allow those ports. That way, I (HowTos)