Jump to content




Firewall. Sort of.


  • You cannot reply to this topic
1 reply to this topic

#1 Ponder

  • New Members
  • 49 posts

Posted 01 March 2012 - 07:42 PM

So while i was toying around with my new computers in Minecraft, I was kinda annoyed that I had to tell the computer which sides he may use for networking each time I'd reboot. So, I spent the last two evenings writing this little script which handles that for me.
I don't know whether somebody else already wrote that kind of thing, I just hope not.

I wrote this for RedWorks, but as long as CraftOs also has an autorun folder thingy it should smoothly.
hjhj
REQ: - Str Utils Api

CODE:
Spoiler

Place this in your autorun directory (/rom/autorun in RedWorks) and it should work.
On boot it will check whether the config file exists and if not create them from the defaults in the car $content, after that it'll look into the config file and open the appropriate sides for networking.
Any comment on this is appreciated as this is actually my first program ever written in Lua.

#2 Ponder

  • New Members
  • 49 posts

Posted 12 March 2012 - 06:52 PM

Update: should be working correctly now
Again, any comment on this would be appreciated.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users