You are not logged in.
Hi,
i'd like to shape all traffic from multiple machines with one pc that runs wondershaper(package is in AUR.).
Example: PCa/b/c-> PCw(one nic+wondershaper)->router->internet
I've set things up on PCw like this:
enable ip forwarding so packages are forwarded from PCa/b/c through PCw to router/internet:
sysctl -w net.ipv4.ip_forward=1
disable icmp redirects so traffic goes through PCw
echo 0 | sudo tee /proc/sys/net/ipv4/conf/*/accept_redirects
echo 0 | sudo tee /proc/sys/net/ipv4/conf/*/send_redirects
wondershaper on PCw
adjust values for downloadspeed/uploadspeed/device (DOWNSPEED/UPSPEED/DEV) in /usr/sbin/wondershaper, then run wondershaper:
# wondershaper
setup on PCa:
ip address of PCw as gateway:
# route del default
# ip route add default via PCw_IP
The problem is that this only shapes traffic from/to PCw, not the other traffic from PCa/b/c that gets routed through PCw and then to the router/internet.
Is it not possible to shape traffic going through PCw, or how can i enable this?
Last edited by tt1234 (2015-01-28 13:34:06)
Offline