Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

自用hanwckf/rt-n56u编译MI-MINI固件

Notifications You must be signed in to change notification settings

Ljzkirito/Actions-Padavan_Xiaomi-Mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Github Actions Padavan Xiaomi-Mini

防火墙ipv6配置

  • 关闭ipv6防火墙
ip6tables -F
ip6tables -X
ip6tables -P INPUT ACCEPT
ip6tables -P OUTPUT ACCEPT
ip6tables -P FORWARD ACCEPT
  • 允许ipv6防火墙特定端口转发
ip6tables -A FORWARD -p tcp --dport 11899 -j ACCEPT
ip6tables -A FORWARD -p udp --dport 11899 -j ACCEPT
  • 开放ipv6防火墙特定端口80/443
ip6tables -A INPUT -p tcp --dport 80 -j ACCEPT
ip6tables -A OUTPUT -p tcp --sport 80 -j ACCEPT
ip6tables -A INPUT -p tcp --dport 443 -j ACCEPT
ip6tables -A OUTPUT -p tcp --sport 443 -j ACCEPT

添加在自定义设置——脚本——在防火墙规则启动后执行