You need an OUTPUT DNAT rule as well (and NAT of local connections
enabled in your kernel config), or to use a redirector helper rewriting
the IP address to the real destination..
Regards
Henrik
Siew Wing Loon wrote:
Hi,
I have my squid running fine but having problem
assessing to IP
Hi,
I have my squid running fine but having problem
assessing to IP address using iptables DNAT
FW + Squid using External IP Address 2.2.2.1
iptables -t nat -A PREROUTING -p tcp -d 2.2.2.1
--dport 80 -j DNAT --to 192.168.100.4:80
When I tried to access 2.2.2.1 via Squid, it display
this error