0% found this document useful (0 votes)
103 views2 pages

Hafalan MIKROTIK Ujikom 2013

The document contains configuration commands for a MIKROTIK router. It sets IP addresses for two ethernet interfaces, configures a default gateway and DNS server, enables NAT and port forwarding for internet access, enables proxy caching with authentication, and denies access to Google and Yahoo websites.

Uploaded by

Hendro Baskoro
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views2 pages

Hafalan MIKROTIK Ujikom 2013

The document contains configuration commands for a MIKROTIK router. It sets IP addresses for two ethernet interfaces, configures a default gateway and DNS server, enables NAT and port forwarding for internet access, enables proxy caching with authentication, and denies access to Google and Yahoo websites.

Uploaded by

Hendro Baskoro
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.

68.1.1 ip dns set servers=192.168.1.1

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny MIKROTIK interface print ip address add address=192.168.1.254/24 interface=ether1 ip address add address=192.168.55.1/24 interface=ether2 ip route add gateway=192.168.1.1 ip dns set servers=192.168.1.1

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1 ip proxy set enabled=yes [email protected] ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=redirect toports=3128

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

ip proxy access add dst-host=www.google.com action=deny ip proxy access add dst-host=www.yahoo.com action=deny

You might also like