Router

Block Youtube via ACL (Access Control List) in Cisco Router

To create an ACL (Access Control List) to deny access to YouTube on a Cisco ISR 1111 router, you can use the following steps:

  1. Access the command-line interface (CLI) of your router and log in with your username and password.
  2. Create a new ACL using the “ip access-list” command. For example:

ip access-list standard block-youtube

This command creates a new ACL called “block-youtube”.

  1. Add a rule to the ACL to deny access to YouTube using the “deny” command. You can block access to YouTube by denying access to the standard HTTP port (TCP port 80) or by specifying the domain name “youtube.com”. For example:

deny tcp any any eq www

This command denies access to the standard HTTP port (TCP port 80).

or deny tcp any host youtube.com eq www

This command denies access to the “youtube.com” domain.

  1. Add a rule to the ACL to allow all other traffic using the “permit” command. For example:

permit ip any any

This command allows all other traffic.

  1. Apply the ACL to the desired interface using the “ip access-group” command. For example:

interface GigabitEthernet0/0 ip access-group block-youtube in

This command applies the “block-youtube” ACL to the GigabitEthernet0/0 interface.

  1. Save the configuration and verify that the ACL is functioning correctly.

These steps should allow you to create an ACL to deny access to YouTube on a Cisco ISR 1111 router. Note that the specific details may vary depending on the version of the Cisco IOS software being used.

[mai mult...]

How to open ports in Cent OS

A TCP/IP network connection may be either blocked, dropped, open, or filtered. These actions are generally controlled by the IPtables firewall the system uses and is independent of any process or program that may be listening on a network port. This post will outline the steps to open a port required by a application.

[mai mult...]

Extindere retea wifi

In cazul in care semnalul wifi este prea slab se poate face o extindere a retelei actuale. Eu recomand sa se faca prin cablu dar este si posibilitatea prin wi-fi.

Cea mai buna si eficienta este prin cablu. Deci avem de facut acesti pasi:

1. De la routerul existent se va trage un cablu pana in zona unde avem lipsa wi-fi.

2. Vom avea nevoie de inca un router pentru a face extindere wi-fi

3. Setarile pentru al doilea router sunt urmatoarele:

  • ne vom conecta in web cu adresa ip de forma 192.168.0.1 sau 192.168.1.1 si vom merge la lan pentru a schimba clasa de ip diferita de routerul principal.
  • apoi vom seta setarile de wifi
  • ultima data vom dezactiva DHCP pentru ca primul router sa isi recunoasca ip-urile
  • vom conecta routerul in portul lan
  • Ia final oprim ambele routere si le repornim

4. In felul acesta vom avea doua retele de wifi care pot avea aceleasi setari sau diferite.

[mai mult...]