Iptables - bypass proxy

/ iptables, proxy

If you want some users to bypass proxy and disable logs for these users:

add to the /etc/rc.d/rc.firewall.local

iptables -t nat -I PREROUTING -m iprange --src-range -j ACCEPT

Dont forget to change - bypassing ip addresses.

Reboot router or restart iptables.

If you want to view changes:

iptables -t nat -L PREROUTING

Next Post Previous Post