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 126.96.36.199:www )
dmz_ip_2: 192.168.0.2:ftp ( mapping to 188.8.131.52:ftp )
when i try to connect to the Wan IP of 184.108.40.206 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 220.127.116.11:www from machine 192.168.0.2 ??
and connect to DMZ machine 18.104.22.168: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 06:47 AM.|