When you try to add ESTABLISHED rules in iptables on OpenVZ and if you get this message.
iptables: invaild argument.
then follow these steps.
1) go to main server
2) vi /etc/vz/vz.conf
3) Add these many modules in the file
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_ttl ipt_state iptable_nat ip_nat_ftp ip_tables ipt_conntrack ip_conntrack_ftp ipt_LOG
4) Save file and exit
5) Restart VE
- 0 Users Found This Useful
Related Articles
Restricting FTP user from climbing back to /home
1) Edit vsftpd.conf 2) unhash chroot_local_user=YES
Error when browsing phpinfo.php warning : phpinfo() has been disabled for security reasons
You have added phpinfo in the disabled functions in your php.ini Ssh to your server and...
Uploaded files of FTP shows 600 instead of 644
vi /etc/vsftpd.con localumask=022 /etc/init.d/vsftpd restart
FTP not connecting giving errors in CentOS
1) Check if selinux is disabled # getenforce If it shows enforcing, then selinux is restricting...
Dig command is not working
Use this command to install dig command. # apt-get install dnsutils