On my ruter I get 1 STATIC WAN IP shared amongst 6 LAN IPs (4 PCs, 2 mobile phones) connected to 100Mb/s line.
One of those PC's usually downloads stuff from uTorrent where speeds are on average 4MB/s. This uses almost 100% CPU on the ruter even thou I have set uTorrent to 100 connection.
I heard that to relieve the pressure of the CPU I should disable masquerading and use routing.
Something described in this guide:
http://wiki.openwrt.org/doc/recipes/rou … masquerade
The problem is that I tried to follow the guide but nothing worked.
So some assistance would be hot?
root@OpenWrt:~# uci export
package 'dhcp'
config 'dnsmasq'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'nonegcache' '0'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
config 'dhcp'
option 'interface' 'lan'
option 'ignore' '0'
option 'start' '10'
option 'limit' '9'
package 'dropbear'
config 'dropbear'
option 'PasswordAuth' 'on'
option 'Port' '22'
package 'firewall'
config 'defaults'
option 'syn_flood' '1'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
config 'zone'
option 'name' 'lan'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
config 'zone'
option 'name' 'wan'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'mtu_fix' '1'
option 'input' 'ACCEPT'
option 'masq' '1'
config 'forwarding'
option 'src' 'lan'
option 'dest' 'wan'
config 'rule'
option 'src' 'wan'
option 'proto' 'udp'
option 'dest_port' '68'
option 'target' 'ACCEPT'
config 'redirect'
option 'src' 'wan'
option 'src_dport' '51983'
option 'dest_ip' '10.0.0.3'
config 'redirect'
option 'src' 'wan'
option 'src_dport' '51986'
option 'dest_ip' '10.0.0.4'
config 'redirect'
option 'src' 'wan'
option 'proto' 'all'
option 'dest_ip' '10.0.0.1'
config 'include'
option 'path' '/etc/firewall.user'
package 'fstab'
config 'mount'
option 'target' '/home'
option 'device' '/dev/sda1'
option 'fstype' 'ext3'
option 'options' 'rw,sync'
option 'enabled' '0'
config 'swap'
option 'device' '/dev/sda2'
option 'enabled' '0'
package 'httpd'
config 'httpd'
option 'port' '80'
option 'home' '/www'
package 'luci'
config 'core' 'main'
option 'lang' 'auto'
option 'mediaurlbase' '/luci-static/openwrt.org'
option 'resourcebase' '/luci-static/resources'
config 'extern' 'flash_keep'
option 'uci' '/etc/config/'
option 'dropbear' '/etc/dropbear/'
option 'openvpn' '/etc/openvpn/'
option 'passwd' '/etc/passwd'
option 'opkg' '/etc/opkg.conf'
option 'firewall' '/etc/firewall.user'
option 'uploads' '/lib/uci/upload/'
config 'internal' 'languages'
option 'en' 'English'
config 'internal' 'sauth'
option 'sessionpath' '/tmp/luci-sessions'
option 'sessiontime' '3600'
config 'internal' 'ccache'
option 'enable' '1'
config 'internal' 'template'
option 'compiler_mode' 'file'
option 'compiledir' '/tmp/luci-templatecache'
config 'internal' 'themes'
option 'OpenWrt' '/luci-static/openwrt.org'
package 'luci_ethers'
config 'static_lease'
option 'macaddr' '00:C0:DF:0A:DE:11'
option 'ipaddr' '10.0.0.1'
config 'static_lease'
option 'macaddr' '00:16:01:1A:33:EF'
option 'ipaddr' '10.0.0.2'
config 'static_lease'
option 'macaddr' '00:13:CE:3D:C1:BC'
option 'ipaddr' '10.0.0.4'
config 'static_lease'
option 'macaddr' '00:23:76:DF:F9:C8'
option 'ipaddr' '10.0.0.5'
package 'luci_hosts'
package 'network'
config 'switch' 'eth0'
option 'vlan0' '1 2 3 4 5*'
option 'vlan1' '0 5'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '10.0.0.254'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'type' 'bridge'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'dhcp'
package 'system'
config 'system'
option 'hostname' 'OpenWrt'
option 'zonename' 'Europe/Ljubljana'
option 'timezone' 'CET-1CEST,M3.5.0,M10.5.0/3'
package 'ucitrack'
config 'network'
option 'init' 'network'
list 'affects' 'dhcp'
config 'wireless'
list 'affects' 'network'
config 'firewall'
option 'init' 'firewall'
list 'affects' 'luci-splash'
list 'affects' 'qos'
config 'olsr'
option 'init' 'olsrd'
config 'dhcp'
option 'init' 'dnsmasq'
config 'dropbear'
option 'init' 'dropbear'
config 'httpd'
option 'init' 'httpd'
config 'fstab'
option 'init' 'fstab'
config 'qos'
option 'init' 'qos'
config 'system'
option 'init' 'led'
config 'luci_hosts'
option 'init' 'luci_hosts'
list 'affects' 'dhcp'
config 'luci_ethers'
option 'init' 'luci_ethers'
list 'affects' 'dhcp'
config 'luci_splash'
option 'init' 'luci_splash'
config 'upnpd'
option 'init' 'miniupnpd'
config 'ntpclient'
option 'init' 'ntpclient'
config 'samba'
option 'init' 'samba'
config 'tinyproxy'
option 'init' 'tinyproxy'
package 'wireless'
config 'wifi-device' 'wl0'
option 'type' 'broadcom'
option 'disabled' '0'
option 'channel' '11'
config 'wifi-iface'
option 'device' 'wl0'
option 'network' 'lan'
option 'mode' 'ap'
option 'encryption' 'psk+psk2'