singkat Transparent Firewall

ini adalah printah singkat dari penggunaan firewall (digunakan agar client bisa mendapatkan akses) kalo gak salahhhhhh

/ip firewall nat add chain=srcnat action=masquerade out-interface=Public

Example of Destination NAT

misal lo mao link Public lo  IP 10.5.8.200 address to Local one 192.168.0.109 di mikrotiok lo

Add Public IP to Public interface:

ip address add address=10.5.8.200/32 interface=Public

Add rule allowing access to the internal server from external networks: 
/ip firewall nat add chain=dstnat dst-address=10.5.8.200 action=dst-nat \
	to-addresses=192.168.0.109

Add rule allowing the internal server to talk to the outer networks having its source address translated to 10.5.8.200:

/ip firewall nat add chain=srcnat src-address=192.168.0.109 action=src-nat \
	to-addresses=10.5.8.200

sebaiknya kalo gak    biasa beberapa printah di atas jangan d gunakan ok

No Comments Yet

No comments yet.

Comments RSS TrackBack Identifier URI

Leave a comment