Google Adsense

Tuesday, May 31, 2011

How to block access webconfig

you can use the software as root putty
way of setting up just a few computers that can access or configure webconfig ClearOS
how:
login using putty (CLI) as root

after login as root

type the following command => # iptables-I INPUT-p tcp - dport 81-j DROP (to block access webconfig)

and to give access rights webconfig from certain ip:

type the following command => # iptables-I INPUT-p tcp - source 192.168.1.100 - dport 81-j ACCEPT
(ip 192.168.1.100 purposes, only those who can access ip webconfig)

1 comment:

  1. Nice information. Where in ClearOS did you put this so it is active upon reboot?

    I assume this would also work to allow a subnet as well.

    ReplyDelete