Execute a Script Like Iptables
Friends,
I can make NAT using the following address : "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE"..Normally i write it into the Linux Command shell . But here i want to make a Script using "vi" in (suppose) "etc/note" where the "note" contains the above rule .when i need to make a rule then i make update into this "note" file. Now my question is , How i make this Script and make it executable like IPTABLES .Plz give me some clue.... Thx....... |
Yes you can. What distribution are you using?
|
All times are GMT -5. The time now is 04:29 AM. |