Skip to content

rafaelsilvag/pyNFRouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyNFRouter - Netfilter Router

Netfilter Router on UserSpace

Instalation

Install library libnetfilter-queue (Ubuntu 12.04):

$ sudo apt-get install libnetfilter-queue-dev libnetfilter-queue1

NetfilterQueue module install:

$ sudo apt-get install libnetfilter-queue-python python-scapy python-ipaddr
$ sudo pip install NetfilterQueue

Usage

$ iptables -t nat -A PREROUTING -j NFQUEUE --queue-num 0
$ cd /usr/local/pyNFRouter
$ python Main.py

Configuration

[general]
logfile=/var/log/pyNFRouter/pyNFRouter.log
path=/usr/local/pyNFRouter

[queue0]
number=0
tablename=queue0
logqueue=/var/log/pyNFRouter/queue0.log

About

Netfilter router on userspace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published