Rename enp0s3 to eth0 – ubuntu 16.04

Linux, Network

How to change interface ethernet name from enp0s3 to eth0?
Let’s let me show to you.

1. Firstly, open and edit /etc/default/grub files.
You need to change this section :
GRUB_CMDLINE_LINUX=””
to :
GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″

2. Update the grub :
sudo update-grub

3. After all done kindly reboot your device and let’s look your interface name.

Advertisements

Secure Mikrotik from Bruteforce

Network

Assalamualaikum

Hari ini saya pingin nulis tentang mengamankan mikrotik dari bruteforce. Karena mikrotik kantor sedang kena bruteforce, sampai saat tulisan ini saya bikin. Ok script ini saya dapat dari link ini, so thanks a lot for your sharing roger!

/ip firewall filter add chain=input protocol=tcp dst-port=21-23 src-address-list=blacklist-address action=drop comment=”TELNET FTP SSH Bruteforce Filter”

/ip firewall filter add chain=input protocol=tcp dst-port=21-23 connection-state=new src-address-list=stage-3 action=add-src-to-address-list address-list=blacklist-address address-list-timeout=10d

/ip firewall filter add chain=input protocol=tcp dst-port=21-23 connection-state=new src-address-list=stage-2 action=add-src-to-address-list address-list=stage-3 address-list-timeout=1m

/ip firewall filter add chain=input protocol=tcp dst-port=21-23 connection-state=new src-address-list=stage-1 action=add-src-to-address-list address-list=stage-2 address-list-timeout=1m

/ip firewall filter add chain=input protocol=tcp dst-port=21-23 connection-state=new action=add-src-to-address-list address-list=stage-1 address-list-timeout=1m

Jadi kenapa saya pilih menerapkan metode ini, karena menurut saya untuk FTP, SSH bisa di disable servicenya. Namun untuk winbox itu kayaknya perlu diamankan deh. So, thank you for visiting! I hope you are get what you want.

Source :
http://www.dimasrio.com/2015/04/block-telnet-ssh-ftp-bruteforce-mikrotik.html