question about iptables (DMZ machine connect to other DMZ machine 's publuic IP)
i am using iptables to be a firewall for my company,
dmz_ip_1: 192.168.0.1:www ( mapping to 220.127.116.11:www )
dmz_ip_2: 192.168.0.2:ftp ( mapping to 18.104.22.168:ftp )
when i try to connect to the Wan IP of 22.214.171.124 from 192.168.0.2,
it show me an error message about "Connection refused"
how can i setup a rule to connect to DMZ machine 126.96.36.199:www from machine 192.168.0.2 ??
and connect to DMZ machine 188.8.131.52:ftp from machine 192.168.0.1
I can't find the post I am looking for but what should work is DNAT. Check out the links in the post by Capt_Caveman. http://www.linuxquestions.org/questi...highlight=dnat
Search here for dnat and there are several examples.
|All times are GMT -5. The time now is 09:04 AM.|