BOSS提议,不用2k了,
要用linux之类的东东。
我现在才开始学solaris,不想在回头花时间去看那些liunx下的iptables资料 了。
问一下,solaris9下有这个吗?更有squid?
要是能够的话,就用soaris9做nat共享上网算了。。。

remoter 回复于:2003-12-18 15:16:13
ipfilter
squid

stevens_wu 回复于:2003-12-18 16:20:02
我只会用BSD作NAT,正在学习用solaris.

carrison 回复于:2003-12-18 16:20:55
sun本身不带这些东西,自己下载源码编译吧

softarts 回复于:2003-12-18 16:38:47
有的,但是为啥不用linux???

peng 回复于:2003-12-18 17:01:28
能够用squid。

suncn 回复于:2003-12-18 17:08:00
ipfilter很好啊!

南非蜘蛛 回复于:2003-12-18 17:12:57
我想这是您想要的
http://www.kempston.net/solaris/nat
[size=18:7753554b7c][color=red:7753554b7c]Configuring Network Address Translation on Solaris 7 and 8[/color:7753554b7c][/size:7753554b7c]

THIS IS A DRAFT PAGE - NOT YET FINISHED!

This page contains detailed step-by-step instructions to configure a Solaris 7 or Solaris 8 system to act as a dial-up gateway for a local network consisting of any combination of Solaris, Windows and Linux systems. This gives internet access to all systems on a local network as if each system had its own connection to the Internet.


These instructions assume that the Solaris system has already been configured for dial-up access as described in Configuring PPP on Solaris to connect to an ISP, that the physical local network exists, that TCP/IP networking is installed on each local machine and that each machine can ping every other machine on the local network. For the purpose of these instructions, it's assumed that each machine on the local network has been configured with a local network IP address from the private address range 192.168.1.1 to 192.168.1.254 and that the local network address of the Solaris system is 192.168.1.1. If you've used a different IP address range, simply subsititue your own IP addresses for the addresses mentioned in this guide.

Network Address Translation (NAT)

A Solaris system on a local network has an IP address associated with its network interface card, perhaps 192.168.1.1, and all TCP/IP traffic between it and other machines on the local network is routed through this network interface. When the Solaris system is connected to the Internet through a dial-up PPP link, it has another IP address associated with its dial-up interface ipdptp0. This IP address may be a fixed static address but is more commonly a dynamic address assigned by the ISP when the dial-up connection is made.

It would be possible to assign a public IP address, probably from the ISP's address space, to each machine on a local network and arrange for the Solaris dial-up gateway to act as a router, forwarding packets from the local machines which arrive on its local network interface out through its dial-up network interface. But few ISPs are willing to allocate multiple IP addresses to dial-up customers and the private address ranges such as 192.168.1.1 to 192.168.1.254 are not routable on the Internet.

The solution is to run network address translation software on the Solaris system. In brief, the way this works is that the local machines are configured with a default route pointing at the Solaris system so that packets addressed to host machines on the Internet are sent first to the Solaris system. Solaris is configured as a router so that it receives incoming packets on its local network interface and sends them out on its dial-up interface. Before retransmitting the packets, the Solaris system performs network address translation, replacing the source address (of the sending machine on the local network) with its own dial-up interface address. The reverse happens with packets incoming from the Internet: the Solaris system receives these on its dial-up interface, checks from its tables which local machine the packet is destined for and replaces the destination address in the packet before retransmitting it on the local network.

The following instructions cover the installation and configuration of NAT software called ipfilter on the Solaris dial-up system and the configuration of DNS and a default route on the other machines on the local network. Specific instructions are provided for Solaris 7 and 8, Windows 95 and 98, and RedHat Linux 6.1. The general principle of setting a default route applies to other operating systems.





--------------------------------------------------------------------------------

Installing and configuring NAT on Solaris

Please note that you must be logged in as root while implementing these instructions.

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!