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