[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Port forwarding and local firewall connections



can you ping the webserver from the firewall?

n.

Am Donnerstag, 12. Juli 2007 13:46 schrieb Marco:
> Hello.
>
> This is the network:
>
> LAN (10.10.10.0/24) <-> (10.10.10.12) FW (192.168.10.1) <->
> (192.168.10.2) webserver
>
> I have set up a firewall who redirects some ports to another
> server in che DMZ with iptables:
>
> iptables -t nat -A PREROUTING -i ! $DMZIF -p tcp --dport 80 -j
> DNAT --to 192.168.10.2
> iptables -A FORWARD -p tcp -d 192.168.10.2 --dport 80 -j ACCEPT
>
> Everything works correctly from the LAN, PCs can connect to
> webserver and it replays, but if on the firewall i try to
> connect to http://10.10.10.12 don't works, it says connection
> refused.
>
> Can anyone help me please? Thank you!
>
>
> --
> mandi, Marco



Reply to: