jRouter 0.3

jRouter is a Web-based Linux router management system.
  3 Screenshots
jRouter is a Web-based Linux router management system. It's designed to be a simple all-in-one router setup and management utility. Allows configuration of network interfaces, dhcpd, iptables, port forwarding, IP/MAC address filters.


Two compatible network cards designated as WAN and LAN
Kernel support for ip forwarding and iptables
HTTP server that works with PHP
PHP 4 (at least 4.2.0) including the standalone PHP interpreter
DOMXML support in PHP
iptables - IP packet filter administration
sudo - Execute some commands as root
DHCP server & client


Install the HTTP server and PHP with DOMXML support
Copy the jRouter files in a folder convenient for your HTTP
Copy and edit the config/sample_configuration.conf to /etc/jrouter.conf
Copy the config/sample_registry.xml to /etc/jrouter.xml
Make /etc/jrouter.xml writeable by the user running PHP.

For Apache/PHP setup running under wwwrun try:
chown wwwrun /etc/jrouter.xml

Configure the HTTP server to serve the jRouter files

For Apache it could be as easy as adding an alias to the config file. Something like added to the httpd.conf:
Alias /jrouter /usr/local/jrouter

Configure sudo

For Apache/PHP setup running under user wwwrun add the following line to /etc/sudoers:
wwwrun ALL = NOPASSWD: /usr/local/jrouter/rc/*

Of course use the path where jrouter was installed instead. Its idea is to allow PHP to execute the commands in the rc folder with root privileges.

last updated on:
January 3rd, 2008, 11:03 GMT
developed by:
Andrew Farley and Jordan Marinov
license type:
GPL (GNU General Public License) 
ROOT \ Security
Download Button

In a hurry? Add it to your Download Basket!

user rating 17



Rate it!
3 Screenshots

Add your review!