8000 GitHub - irxground/iptables: iptables configuration generator
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

irxground/iptables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby iptables Generator

このプログラムはiptables用の設定ファイルを生成します。

このプログラムではRuby 1.9以上を利用してください。 必要なファイルはsrc/iptables.rbのみであり、 他のファイルはテストコードやサンプルコード、ドキュメントになります。

使い方

このリポジトリをクローンした後、以下のコマンドを実行してください。 標準出力にHTTPサーバー用の設定が表示されます。

ruby src/http_server_sample.rb
# apply configuration
ruby src/http_server_sample.rb > ip.sh
bash ip.sh

後は適時、http_server_sample.rbを修正するなり、新規ファイルを作成するなりしてください。

使い方の詳細

APIドキュメントはありません。テストコードを参考にしてください。

最後に

バグや要望があれば、Issueに登録するかPull Requestを出してください。 このプログラムが便利だと思えたら、このリポジトリにStarするかTwitterで宣伝してくれると嬉しいです。

About

iptables configuration generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0