a problem on visiting DMZ servers when apply DNAT?
we use linux as the firewall. we have a web server,as we made a DNAT rule on the firewall,the people can visit it from internet by address 202.38.128.1(just a example,not real).
(202.38.128.1)
internet----------firewall------------localhost
| (192.168.0.10)
|
www server
(10.0.0.2)the problem is the localhost can no longer visit the web server with the same IP(we also have a dns server,people visit that with domain name). we can only visit it by the IP 10.0.0.2. the people don't like that. but i don't know how to solve the problem. any idea? thanks in advance.
chuanbo zheng
See patch-o-matic/submitted/local-nat.patch
Regards
Henrik
Quoted 19 lines · Ö£´«²¨
we use linux as the firewall. we have a web server,as we made a DNAT rule on the firewall,the people can visit it from internet by address 202.38.128.1(just a example,not real).
(202.38.128.1)internet----------firewall------------localhost
| (192.168.0.10) www server (10.0.0.2)the problem is the localhost can no longer visit the web server with the same
IP(we also have a dns server,people visit that with domain name). we can only visit it by the IP 10.0.0.2. the people don't like that. but i don't know how to solve the problem. any idea? thanks in advance.chuanbo zheng