Kausnya adalah berikut
Kita melakukan instalasi DNS server murah Webserver DENGAN IP Prifat di lan, namun web murah DNS Harus bisa di AKSes di Jaringan publik, bagaimana caranya?
ADSL Modem (Publik ip: 125.xxx)
||======>( ip: 192.168.0.254/24)
| |
||======>( ip: 192.168.0.1/24)
Mikrotik
| | ||=====>( ip: 192.168.1.1/24)
| | | |
| | Client Lokal (192.168.1.0/24)
||=========>( ip: 192,168. 1.1/24)
| |
DNS + WEB Server (192.168.1.2/24)
||======>( ip: 192.168.0.254/24)
| |
||======>( ip: 192.168.0.1/24)
Mikrotik
| | ||=====>( ip: 192.168.1.1/24)
| | | |
| | Client Lokal (192.168.1.0/24)
||=========>( ip: 192,168. 1.1/24)
| |
DNS + WEB Server (192.168.1.2/24)
Jawabanya adalah melakukan printah berikut DENGAN di mikrotik
/ Ip firewall nat add chain = dstnat dst-address = 125.xxx protocol = tcp dst-port = 53 action = dst-nat to-address = 192.168.1.2 to-port = 53
/ Ip firewall nat add chain = dstnat dst-address = 125.xxx protocol = tcp dst-port = 80 action = dst-nat to-address = 192.168.1.2 to-port = 80
0 komentar:
Posting Komentar