|
|
这些是我设置iptables和selinux的:
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6881 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6882 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6883 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6884 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6885 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6886 -j ACCEPT
[root@localhost virtual]# cat /etc/selinux/
config config,v semanage.conf targeted/
[root@localhost virtual]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6887 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6888 -j ACCEPT
[root@localhost virtual]# /sbin/iptables -A INPUT -p tcp --dport 6889 -j ACCEPT
但是速度还是保持在10K内 在下FC6呢 郁闷阿。。。 |
|