I have been going through the Trinity document in order to improve my
knowledge and my system. Specifically the ipfwadm rules in rc.firewall
about which I have a few questions.

RedHat 5.2
Dial-up PPP account
Dynamically assign IP address

1) The rc.firewall is called from ip-up and uses a command to get the ppp0
IP from ifconfig. However I have read that IPs etc are passed as command
line arguments to ip-up, couldn't these be passed to rc.firewall?

2) I can't find the reference that I read the above in :-(. Can anyone
provide me with the details?

3) ip-up in RedHat 5.2 says not to modify but create ip-up.local and put all
commands into it. Is ip-up.local passed the same arguments?

4) One line in the Trinity rc.firewall regards ICMP:
ipfwadm -I -a accept -W $extif -P icmp -S $dgw/24 -D $extip
I don't have a "default gateway on the external NIC" ($dgw)... Or is it the
address passed in ifconfig as P-t-P? Do I need this ipfwadm line at all?
(Don't know what ICMP is yet sorry?)

5) If it is the P-t-P IP, is that passed to ip-up?

Thanks,
Justin.



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

Reply via email to