由 canoe 在 12-05-2002 15:43 发表:
宽带共享上网双网卡
我是宽带上网
isp给我得(eth 1)ip:10.0.52.3
掩码:255.255.252.0
子网:10.0.52.1
DNS: 202.99.8.1
我得eth 0得ip:192.168.0.1
掩码:255.255.255.0
双网卡共享上宽带
另一台ip:192.168.0.2
掩码:255.255.255.0
改iptables为
iptables -t nat -A POSTROUTING -j MASQUERADE
echo 1>/proc/sys/net/ipv4/ip_forward
service iptables save
但是工作站还是ping不通10.0.52.1上不了网?
我试了好几种改iptables的方法都没有成功。
郁闷中
请斑竹指点谢谢谢谢!
我把ISP给的掩码改为255.255.255.0
服务器可以上,工作站还是上不去.
由 xchen 在 12-05-2002 17:49 发表:
你这种网络环境,可能不大适合用nat,建议你还是用kingate,linux下的wingate,功能还不错。
由 canoe 在 12-05-2002 20:04 发表:
谢谢斑竹我试试
过去的帖子里的我都试过了
没有成功。
郁闷
由 canoe 在 12-08-2002 11:11 发表:
[root@localhost root]# cd /usr/tools/kingate-0.2
[root@localhost kingate-0.2]# ./install.sh
g++ -I. -ggdb2 -DLINUX -D_REENTRANT -c allow_connect.cpp
allow_connect.cpp:165: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See
1<url: bugzilla="" bugzilla.redhat.com="" http:=""> for instructions.
2
3make: *** [allow_connect.o] Error 1
4
5g++ -I. -I.. -ggdb2 -DLINUX -D_REENTRANT -c dnsproxy.cpp
6
7g++ -L.. -L/usr/lib -o dnsproxy ../mysocket.o ../config.o dnsproxy.o -lpthread
8
9g++: ../mysocket.o: No such file or directory
10
11g++: ../config.o: No such file or directory
12
13make: *** [dnsproxy] Error 1
14
15mv: cannot stat `./src/kingate': No such file or directory
16
17mv: cannot stat `./src/dnsproxy/dnsproxy': No such file or directory
18
19[root@localhost kingate-0.2]# ./uninstall.sh
20
21rm: cannot lstat `./bin/dnsproxy': No such file or directory
22
23rm -f kingate
24
25rm -f *.o
26
27rm -f dnsproxy
28
29rm -f *.o
30
31
32
33安装中出现这个问题。按照readme里做还是这样
34
35我用的是redhat 8.0 服务器安装
36
37请指教。
38
39
40
41
42* * *
43
44
45_由 solaris 在 12-08-2002 19:17 发表:_
46
47
48
49****
50
51
52
53
54
55估计是因为你没有完全安装,按缺少相关的组件。安装linux最好选custom,完全安装。
56
57
58
59
60* * *
61
62
63_由 canoe 在 12-08-2002 21:43 发表:_
64
65
66
67****
68
69
70
71
72
73我是完全子安装了。选择的服务器安装
74
75我防火墙选的是中级,但是进去后显示的是高级
76
77好的。我再试试。
78
79
80
81
82* * *
83
84
85_由 canoe 在 12-10-2002 16:39 发表:_
86
87
88
89****
90
91
92
93
94
95问题</url:>