I'm no expert, but this should do it
ipchains -F input # fluch ruleset
ipchains -A input -s [trusted host/net] -d $LOCALNET <ports> -j ACCEPT
hth
charles
On Mon, 9 Oct 2000, Dan Browning wrote:
> I would like to setup httpd server (port 80), but only allow the port to
> appear as 'open' for certain ip addresses--for all others I would like it to
> be appear closed. I bet this can easily be done with a few ipchains
> commands, does anyone have any hints?
>
> Environment: RedHat 7.0, dual zeon, Cable net access.
>
> I'm still learning ipchains. Thanks for the help.
>
> Dan Browning
> Network & Database Administrator
> Cyclone Computer Systems
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list