Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert readme from .txt to .md and add some styling #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions readme.txt → readme.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# node-iptables

This is a node.js module for controlling iptables. It's very basic just for
what we need at http://browserling.com.

It was written by Peteris Krumins ([email protected], @pkrumins on twitter).
His blog is at http://www.catonmat.net -- good coders code, great reuse.
It was written by **Peteris Krumins** ([email protected], @pkrumins on twitter).
His blog is at http://www.catonmat.net -- good coders code, great reuse.

---

------------------------------------------------------------------------------
## Overview

Here is an example usage:

```
var iptables = require('iptables');

iptables.allow({
Expand All @@ -22,18 +27,17 @@ Here is an example usage:
dport : 34567,
sudo : true
});
```

This allows connections to port 34567 from 10.1.1.5 and drops connections from
the same port from everyone else.

------------------------------------------------------------------------------
---

Ps. I once wrote an article on iptables on my blog, check it out:

http://www.catonmat.net/blog/traffic-accounting-with-iptables


Sincerely,
Peteris Krumins (twitter: @pkrumins)
http://www.catonmat.net