Franco Borgo wrote:
to access file without 548,how do I do ?
There are a number of services that OS X Server offers are not services that I'm willing to openly expose — that includes AFP (TCP 548), DNS, FTP, telnet, SMB, NTP, DHCP, etc.
I use certificate-based sftp, or an L2TP/IPsec or SSL VPN for file transfers and related services. To a firewall-based VPN server, most usually.
Some alternatives for a block-oriented file service include WebDAV via https, though that's a little more complex to set up.
If the sites that you are attempting access your server from block all outgoing connections — including outbound VPN access — then that's often an indication of site-specific security policies in place that block the access you're attempting. Check with the site-local IT folks and see what they recommend.
Based on your comments here, your server is being heavily attacked, which can mean it's misconfigured, or it's exposing "interesting" or potentially vulnerable services — or actually vulnerable services.