- 论坛徽章:
- 0
|
目的想让许可的MAC地址能自由上网。
除此之外的电脑都要到网关上去注册一下。
现在
00500 divert 8668 ip from any to any via xl1
00510 allow ip from any to any MAC any 00:e0:7d:86:ec:ba
00520 allow ip from any to any MAC 00:e0:7d:86:ec:ba any
00550 fwd 127.0.0.1,88 tcp from any to any dst-port 80 in
65535 allow ip from any to any
这样不行。都要去访问网关上的88端口。
后改成
00510 skipto 2000 ip from any to any MAC any 00:e0:7d:86:ec:ba
00520 skipto 2000 ip from any to any MAC 00:e0:7d:86:ec:ba any
00550 fwd 127.0.0.1,88 tcp from any to any dst-port 80 in
这样也不行。也是要到网关上去访问一下。
请问一下。
这个skipto没有作用吗。
在ipfw中能不能实现跳转啊。
注:MAC地址是正确的。有通过的流量 |
|