On Mon, Sep 14, 1998 at 07:05:02PM +1000, [EMAIL PROTECTED] wrote:
> Recently, I set up a masq box with RH5.1. Everything worked well.
> I have the following lines in my /etc/ppp/ip-up.local:
> 
> -------------------------------------------------------
> # default policy is deny.
> ipfwadm -F -p deny
> 
> # these 3 hosts will be allowed onto internet straight
> # after ppp-link is up.
> ipfwadm -F -a m -S 192.168.0.3/32 -D 0.0.0.0/0
> ipfwadm -F -a m -S 192.168.0.4/32 -D 0.0.0.0/0
> ipfwadm -F -a m -S 192.168.0.5/32 -D 0.0.0.0/0
> -------------------------------------------------------
> 
> This worked fine, all three hosts can access internet straight after.
> 
> The problem is later on, I want to deny access to 192.168.0.5, how 
> can I achieve that ? 

Use ipfwadm -F with -d, which you can use to delete the rule that gives
192.168.0.5 access.

Chris Johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to