找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 6932|回复: 12

[coyote] [分享]coyote faq大全站点,可以找到关于IP,MAC绑定,MAC地址修

[复制链接]
发表于 2003-11-14 10:54:37 | 显示全部楼层
http://rzero.com/coyote/faq.html

这个站点关于ADD-ONS的:http://www.rictec.com.br/claudio/coyote/

当然,coyote的论坛也是不错的地方
routeros
回复

使用道具 举报

发表于 2003-11-14 13:28:16 | 显示全部楼层
有谁可以翻译一下?
routeros
回复

使用道具 举报

发表于 2003-11-14 19:08:43 | 显示全部楼层
不错,不过我没看到如何绑定ip与mac
routeros
回复

使用道具 举报

发表于 2003-11-17 08:05:30 | 显示全部楼层
Q: How do I block certain machines on my LAN from accessing the internet? #
A: To block (for example) 192.168.0.11 from accessing any non-local IP addresses, add the following command to etc/coyote/firewall:
iptables -I autofw-acl -i eth0 -s 192.168.0.11 -d ! 192.168.1.0/24 -j REJECT

Q: How do I allow access to a service on my LAN only from a certain trusted machine on the internet? #
A: To allow only (for example) 12.34.56.78 to access your web server at 192.168.0.2, do not forward this port using the regular Coyote Rules (which would open it to the general public). Instead add the following commands to etc/coyote/firewall. Change the port number to the appropriate value for other services.

iptables -A autofw-acl -i $IF_INET -p tcp -d 192.168.0.2 --dport 80 -j ACCEPT
iptables -t nat -A auto-forward -i $IF_INET -p tcp -s 12.34.56.78 --dport 80 -j DNAT --to 192.168.0.2

Q: How do I block access from a certain machine on the internet? #
A: Use the following example of what to add to /etc/coyote/firewall:

#The next 4 lines create and maintain the block-acl chain
iptables -N block-acl 2>/dev/null
iptables -F block-acl 2>/dev/null
iptables -D FORWARD -j block-acl 2>/dev/null
iptables -I FORWARD -j block-acl 2>/dev/null

# Create as many block rules as needed:
# -p [protocol]
# -s [source_ip[/subnet]]
# -d [destination_ip[/subnet]]
# --dport [destination_port]
# -j  # Don't reply ("stealth")
# -j  # Reply with port-unreachable ("closed")

iptables -A block-acl -i $IF_INET -p tcp -s 195.5.64.3 -d 192.168.0.10 --dport 80 -j DROP
routeros
回复

使用道具 举报

发表于 2003-11-17 08:06:03 | 显示全部楼层
是不是这个,请哪位高手翻译一下?
routeros
回复

使用道具 举报

发表于 2003-11-17 08:37:51 | 显示全部楼层
还有这个。
http://www.coyotelinux.com/modules.php?nam...6&i=2214&t=2126
routeros
回复

使用道具 举报

 楼主| 发表于 2003-11-17 08:59:54 | 显示全部楼层
http://www.rictec.com.br/claudio/coyote/co...l-2.4-ide-cdrom
routeros
回复

使用道具 举报

发表于 2003-12-8 10:55:32 | 显示全部楼层
是不是用这个命令:
iptables -t nat -N mac-nat 2>/dev/null
iptables -t nat -F mac-nat 2>/dev/null
iptables -t nat -D PREROUTING -j mac-nat 2>/dev/null
iptables -t nat -I PREROUTING -j mac-nat 2>/dev/null

iptables -t nat -A mac-nat -i $IF_LOCAL --match mac --mac-source XX:XX:XX:XX:XX:XX -j ACCEPT
iptables -t nat -A mac-nat -j DROP
routeros
回复

使用道具 举报

发表于 2003-12-9 13:09:45 | 显示全部楼层
为什么没有人回答?
routeros
回复

使用道具 举报

发表于 2004-1-26 17:04:40 | 显示全部楼层
因为你已经是这里的最高的高手了,哈哈哈!
routeros
回复

使用道具 举报

发表于 2004-1-26 17:30:47 | 显示全部楼层
大家要把自己使用的心得发上来,我们今天能讨论这个,本来就是因为
linux的自由,开放,共享精神,无论水平高低,发贴有回音才好,解决了问题不要忘了
通知大家
routeros
回复

使用道具 举报

发表于 2004-1-26 17:35:06 | 显示全部楼层
http://dolly.czi.cz/coyote/
routeros
回复

使用道具 举报

发表于 2004-1-26 20:43:29 | 显示全部楼层
我试过了,如果在2.23使用mac 、ip绑定的话,端口映射的功能将会不能正常工作
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-19 22:09 , Processed in 0.148919 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表