[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Limiting access to port 81 (Admin) to specific IP's
- Subject: RE: [cobalt-users] Limiting access to port 81 (Admin) to specific IP's
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Sat May 26 02:50:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 25 May 2001, Footballist wrote:
> I want to use certain IP's to perform my web based (GUI) system's administration
> tasks.
>
>
> Is there a way to limit access to my port 81 to a specific IP address?
install ipchains.
then:
ipchains -A input -s <your.ip.address.here> -d 0/81 -p tcp -y -j ACCEPT
ipchains -A input -s 0/0 -d 0/81 -p tcp -y -j REJECT
those two commands after each other *should work* if I'm not wrong.
I might be wrong though. :-) make sure someone is there to boot the system
if you get yourself locked out...
if only the 81 port is suddenly inaccessible to you, while telnet is still
running, you can clear that out with:
ipchains --flush
HTH,
- shimi.