Translations:KDEConnect/119/zh-hans: Difference between revisions
(Created page with "如果你使用 '''firewalld'''防火墙,你可以通过如下指令打开必要的端口: <syntaxhighlight lang="bash"> sudo iptables -I INPUT -i <yourinterface> -p udp -...") |
No edit summary |
||
Line 1: | Line 1: | ||
如果你使用 '''firewalld'''防火墙,你可以通过如下指令打开必要的端口: | 如果你使用 '''firewalld''' 防火墙,你可以通过如下指令打开必要的端口: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo iptables -I INPUT -i <yourinterface> -p udp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT | sudo iptables -I INPUT -i <yourinterface> -p udp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT | ||
sudo iptables -I INPUT -i <yourinterface> -p tcp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT | sudo iptables -I INPUT -i <yourinterface> -p tcp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT |
Latest revision as of 05:33, 25 June 2021
如果你使用 firewalld 防火墙,你可以通过如下指令打开必要的端口: <syntaxhighlight lang="bash"> sudo iptables -I INPUT -i <yourinterface> -p udp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT sudo iptables -I INPUT -i <yourinterface> -p tcp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT