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