Sorry if this has been discussed before - but I have been trying for hours with various options to connect to a proxy server, I have put the following in my jffs/scripts/firewall-start file:
Trying to connect via a proxy with IP tables- but stuck
Code:
PROXY_IP=87.246.54.12 PROXY_PORT=3128 LAN_IP=`nvram get lan_ipaddr` LAN_NET=$LAN_IP/`nvram get lan_netmask` /usr/sbin/iptables -t nat -A PREROUTING -i br0 -s $LAN_NET -d $LAN_NET -p tcp --dport 80 -j ACCEPT /usr/sbin/iptables -t nat -A PREROUTING -i br0 -s ! $PROXY_IP -p tcp --dport 80 -j DNAT...