[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ipmasq rules in ip-up.d



hello everyone !
  i placed the following ip masquerading rules in my /etc/ip-up.d/masqrules
:

  #! /bin/sh
  /sbin/ipfwadm -F -p deny
  /sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

  my question is, with those masq rules automatically run everytime my ppp link
comes up, do i also have to write something for my ip-down.d so that those rules
will be deleted when the link comes down ?  if so, what are they ?

  thanks a lot,
  sib

---------------------------------------------------------
A world of Information. The journey begins here. At Home.
Internet Cebu's web based mail. http://www.i-mailbox.net


Reply to: