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.
Requirements:
· 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
INSTALLATION:
· 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.
Product's homepage