菜菜的问 ,怎么让其他Windows 通过 Linux 主机 上网

由 blueskyer 在 05-18-2003 14:27 发表:

菜菜的问 ,怎么让其他Windows 通过 Linux 主机 上网

我有两个网卡 怎么像Windows那样共享一块


由 tianfeng 在 05-18-2003 14:37 发表:

容易

一块网卡设为公网ip地址,另一块网卡设为内网ip地址,然后安装squid代理服务器,内网的计算机用代理上网就可以!


我们是茁壮成长的linux菜鸟!


由 blueskyer 在 05-18-2003 17:33 发表:


怎么装squid 我是菜鸟的说


由 oyzjin 在 05-20-2003 23:22 发表:


编辑/etc/squid/squid.conf,改为如下:

TAG: http_port

#Default:

http_port 192.168.8.1:3128

cache_mem 42 MB

cache_dir aufs /var/spool/squid/cache 3000 16 256

cache_access_log /var/log/squid/access.log

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

#dns_nameservers 192.168.8.168

acl oy src 192.168.8.88 (改成你想代理的win机)

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl ssl_ports port 443 563

acl safe_ports port 80 21 443 563 70 210 1025-65535

acl connect method CONNECT

http_access allow manager oy( 对应上面的)

#http_access deny manager

http_access deny !safe_ports

http_access allow all

icp_access allow all

miss_access allow all

这样只能代理看网页和下载软件,其它我不是很会!

我还在学iptables !希望会的指教下啊!我希望找到有关iptables的参数的用法那样的资料


k7_550 asus_kx133 win98 winnt

c433 810 redhat9.01 23G_scsi128m


由 pupilzeng 在 05-21-2003 00:03 发表:


干嘛这么复杂,用iptables就几条命令搞定了吗

去论坛搜一搜。


Athlon XP1500+ +Jetway 866Pro(KT266A) +384RAM+Seaget U6 40G +Gefo

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus