Thank you for existing and making my life easier :). I need your help, please.
I need to create a putty function to work like this.
A command in putty:
ipfw addip [IP]
This will add in /etc/rules.ipfw the following line:
$IPF 460 allow all from [IP] to any 22 in
A command in putty:
ipfw removeip [IP]
This will search in /etc/rules.ipfw for the line with specific [IP] and it will remove it. Example line to be removed
$IPF 460 allow all from [IP] to any 22 in
Thank you.