As a new user of XG Firewall Home Edition I'm having a hard time understanding where/how to translate and insert the following iptables rules in the UI:
# Route all HTTP traffic to Squid listening on 10.10.10.8:3128
iptables -t nat -I PREROUTING -p tcp --dport y.y.y.y:80 -j DNAT --to 10.10.10.8:3128
# Route all HTTPS traffic to Squid listening on 10.10.10.8:3129
iptables -t nat -I PREROUTING -p tcp --dport y.y.y.y:443 -j DNAT --to 10.10.10.8:3129
My XG Firewall is located at 10.10.10.1 and what I want to do is basically route all HTTP/HTTPS traffic from LAN (10.10.10.0/24) to my Squid proxy listening on 10.10.10.8. I did try using the Upstream Proxy (Routing > Upstream Proxy) but somehow the connection speed dropped significantly and it only worked for HTTP.
Thanks in advance.
This thread was automatically locked due to age.