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

Port forwarding and local firewall connections


This is the network:

LAN ( <-> ( FW ( <->
( 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
iptables -A FORWARD -p tcp -d --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 don't works, it says connection

Can anyone help me please? Thank you!

mandi, Marco

Attachment: pgpEo3uv4r1dL.pgp
Description: PGP signature

Reply to: