|
发表于 2004-6-26 01:48:32
|
显示全部楼层
我看到coyote官方的英文手册里写出,如果你用coyote.那么它是一种网络共享的软件不要指望它做webserver.printserver等等.web还是要指定到局域网单机的某一台机器吧.应该是这个样子.我刚学才 2天.呵呵官方资料? Does Coyote support a print/web/FTP/etc. server? Many people have suggested that all sorts of features should be added to Coyote Linux (web server, ftp server, etc) claiming that they don't know how to use Linux and that Coyote Linux was so easy to set up. I don't support this view because Coyote Linux does what was intended to do - share an Internet connection. If you want a print server, web server, samba, ftp, or whatever, there are already distributions out there that provide these functions. If all of the feaures that people ask for were added to Coyote, setup of Coyote would be just like to any other distribution. If you want to use Linux for functions that Coyote does not support, you really should learn how to use a distribution that already has said feature and/or learn how to add it yourself. I will never add a print server, web server, etc to the base Coyote Linux distribution as it has absolutely nothing to do with sharing an Internet connection. 这里是在coyote下的局域网环境behind coyote? How do I run a web/ftp/etc server from behind Coyote? Users who want to run any servers from behind the Coyote box need to forward ports. From the Configuration Menu, press 1) Network configuration, then 4) IP Masquerading and add a new line at the bottom of the file: NOTE: Comments are made using the # sign at the beginning a line - these are ignored by the software, but exist as onhand documentation for reminders to what is done. Here is the format of a typical portforwarding command: Format: /sbin/ipmasqadm autofw -A -r tcp [starting port number] [ending at port number] -h [IP address of host that is forwarded to] The following are examples of the most common server port forwarding rules: # Web Server: Forward port 80 to host 192.168.0.2 /sbin/ipmasqadm autofw -A -r tcp 80 80 -h 192.168.0.2 # FTP Server: Forward ports 20-21 (TCP) to host 192.168.0.2 /sbin/ipmasqadm autofw -A -r tcp 20 21 -h 192.168.0.2 # DNS Server: Forward port 53 (TCP & UDP) to host 192.168.0.2 /sbin/ipmasqadm autofw -A -r tcp 53 53 -h 192.168.0.2 /sbin/ipmasqadm autofw -A -r udp 53 53 -h 192.168.0.2 # Email Server: Forward ports 25 (SMTP) and 110 (POP3) to host 192.168.0.2 /sbin/ipmasqadm autofw -A -r tcp 25 25 -h 192.168.0.2 /sbin/ipmasqadm autofw -A -r tcp 110 110 -h 192.168.0.2 The ports are given so that you can use a range - the FTP is a good example. For instance, if you wanted to forward ports 100 to 200 to IP 192.168.0.2, just replace 20 and 21 in the FTP example with "100" and "200". Notice that if we want to use a single port, we list that port as the beginning and ending port number - as in the Webserver example. ? I forwarded ports for FTP, external clients can connect, but doesn't get a directory listing. What's wrong? Try PASV(passive) mode on the client. If your friend is behind a firewall/router, this may not work at all. 如有错误请指正 |
|