Cent.OS5下用BT下载文件问题?投资
E文太烂,帮忙给.解释下这是什么意思?--- 印刷
iptabl.es -I INPUT -p tcp --dport <you.r_port_number> -j ACCEPT虚拟主机
iptables -I INPUT -p udp --dport <your_por.t_number.> -j ACCEPT--- 印刷
<your_port_number> is. the port number you have .used f.or port forwarding (Avoid 6881-6999, any from 49125-65535 is fine) 电子
Once you've established the port is .open you n.eed to make the change persist throu.gh a reboot 女人
create a file /etc/init.d/.ipta.bles_azureus and add the lines below(广告)
(sleep 220
/sbin/iptables -I INP.UT -p tcp --dport. <your_port_number> -j ACCEPT[成人用品]
/sbin/iptables -I INPUT -p udp --dport <your_port_.number> -j ACCEPT .) &( 游戏 )
The .(sleep 220 is there to make the script. wait .a few minutes to .allow subseque.nt firewall configuration scripts to run. 2.20 seconds is a large. value and you may choose to configure a lower value. The key is that the opening of the azureus port is not countermanded by the fi.rewall .initialisation which runs later. At the end is a ) & which allows the script to let the rest of the boot continue, while the script waits.<性病>
ch.mod +x /etc/init.d/iptables_azureu.s make the file executable.
update.-rc.d i.ptables_azureus start 51 S . links the file into the startup sequ.ence 外汇
是不.是让我创建/etc/.init.d/iptables_azureus这个文件,并加入:.
sleep 220
/sbin/iptables -I IN.PUT -p tcp --dport <your_port_number> -j ACCEPT. 婚庆
/sbin/iptables -I INPUT -.p udp. --dport <your_port_number> -j ACCEPT健康
那么your_port_.numbe.r我到底该添多少?6881行吗?.
chmod +x /etc/init.d/iptables_azureus mak.e the file executable是把i.ptables_azure.us变为可执行文件吧。.
update-rc.d iptables_azureus start 51 S . links the file i.nto the startup sequence这个是让iptables_azure.us在系统启动是自动运行吧。那么他.是怎么实现的呢? 鲜花
我运行
#updat.e-rc.d iptab.les_azureus start 51 S 电子
#command not found.--------------彩票
正确命令应该是什么阿 ?
如果我在启动后执行:
# iptables -I INP.UT. -p udp --dport 6881 -j ACCEPT电脑
# iptables -I INPUT -p. tcp --dport 6881 -j .ACCEPT 婚庆
是不是一样可以起到上面的作用阿. ?服务器