陈继部落格 Good Luck To You!

N1相关资料

微信图片_20210207211812.png



# This file is interpreted as shell script.

# Put your custom iptables rules here, they will

# be executed with each firewall (re-)start.


# Internal uci firewall chains are flushed and recreated on reload, so

# put custom rules into the root chains e.g. INPUT or FORWARD or into the

# special user chains, e.g. input_wan_rule or postrouting_lan_rule.

iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53

iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53

iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE


作者:陈继 分类:建站 浏览:1470 评论:
留言列表
发表评论
来宾的头像