Ya tienes Linux funcionando y puedes entrar a las paginas de internet pero….. alguien mas podría entrar a mi maquina ….. aquí tenemos una forma simple de instalar un firewall.
Vamos a explicar la manera fácil y rápida de poder poner tu firewall a funcionar en tan solo 1 minuto.
Primero verifica si tienes {es:iptables} instalado, si no lo tienes usas este código para instalarlo abres el Terminal y escribes:
sudo apt-get install iptables
Después usando el editor de tu preferencia (nano, pico, vi, gedit etc.) harás un script y lo pondrás en “/opt/scripts” y lo vas a llamar “iptables.script”
por ejemplo:
sudo gedit /opt/scripts/iptables.script
El código que pondrás sera:
#!/bin/bash
# descarga todos los enlaces
iptables -F# prepara las reglas de cada enlase pre-definido
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP# permite coneccion establecidas por paquetes que vienen de otras computadoras
iptables -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT# no permite que nada mas entre
iptables -A INPUT -i eth+ -p udp -j DROP
iptables -A INPUT -i eth+ -p tcp -m tcp –syn -j DROP# acepta todo de localhost
iptables -A INPUT -i lo -j ACCEPT
Después que este guardado activas el iptables y sabrás si esta funcionando usando:
sudo iptables -L -V
Después generas otro pequeño “init script” para poder activarlo en “/etc/init.d/firewall” este sera el comando que pondras:
sudo gedit /etc/init.d/firewall
Dentro de este archivo colocas el siguiente codigo:
#!/bin/bash
if [[ $1 == start ]] ; then
sudo /opt/scripts/iptables.script
else
sudo iptables -F
fi
Por ultimo lo sincronizas con /etc/rc.* usando las herramientas de “update-rc.d” para que el firewall se active antes que el network:
update-rc.d firewall start 20 2 3 4 5 . stop 99 0 1 6
Y aquí tendrás un firewall simple para que tu computadora este mas segura (no es recomendable para los servidores ya que no dejara que ningún paquete entre).
Ultimos 10 Temas Por Ernesto
- Cables de Network/ Ethernet Cat6 - December 9th, 2019
- Website de la Semana: TechBench (Baja Windows 10 ISO directo de Microsoft) - December 7th, 2019
- Laptop de la semana - December 7th, 2019
- Regresamos en el 2019! - December 31st, 2018
- Programa de la Semana: Windows 7 Recovery CD - January 9th, 2014
- Averigua la información de tu servidor Linux via web - January 7th, 2014
- Baja tus Torrents anónimamente - January 5th, 2014
- Como comprimir un archivo en Ubuntu atravez del Terminal (SSH) - January 5th, 2014
- Actualiza tus Programas de forma fácil. - March 3rd, 2011
- Desactiva tu disco C:\ de ser Compatido "Share" en Windows - March 1st, 2011
mostbet ??????????? ???? mostbet ??????????? ????
https://semaglutide.life/# rybelsus reviews
mostbet O?zbekiston live stavka mostbet O?zbekiston live stavka
?????? ?????? ???.
?????? ?????? – ?????? ??????? ???????????? ??????? ? Darknet
???????? ???????? ?????? – ???? ?? ?????????? ????????? ? ????????, ??? ???? ????? ????? ??????????? ???????????? ?????????, ?????????? ????????, ???????? ? ?????????????, ???????????? ?????? ? ????? ?????? ?????? ? ?????????. ???????? ?????????????? ?????? ???????????, ? ?????????? ????????? ????????? ?????????????.
??????? ?? ???????
?? ????? ????? ????? ????? ?????? ? ??????:
• ????????? ????? ????????????? ??????? – ?? ????????? ? ???????????? ?? ??? ? ???????.
• ????????????? ???????????.
• ?????????? ???????? VPN.
• ?????? ???????.
• ?????? ???? ??????????.
• ?????????? ????? ? ?????.
• ?????????? ???????? – ? ????????, 1000, 2000 ? 5000 ???..
• ???????????? ? ??????? – ?? ??????? ????? ? ?????? ?? ?????? ??? ??????.
?????? ??????? ? ??????????. ????????, ????? ???????? ??? ?????????, ???????? ??? ???, ??? ?????????? ????????. ????? ????? ?????????.
mostbet ????? ?? ?????? mostbet14362.help
?????? ?? ??????.
???? Kraken – ?????? ??????? ???????????? ??????? ????????
???????? ???????? Kraken Onion – ???? ?? ?????????? ????????? ? ????????, ??? ???? ????? ????? ???, ?????????? ????????, ???????? ? ?????????????, ???????????? ????? ?????? ? ?????? ??????????. ???????? ?????????????? ?????? ???????????, ? ????? ????????? ??? ????? ??????.
??? ????? ?????? ? ???????? ?? ???????
?? ??????? ??????????? ????? ?????? ? ??????:
• ????????? ????? ?????????? – ?? ????????? ? ???????????? ?? ??????? ? ????????????.
• ????????? Bitcoin.
• ??????? ???????? VPN-????????.
• ?????? ???????.
• ????????, ?????????????, ???????????? ?????.
• ?????????? ? ?????????? ?????.
• ?????????? ???????? – ? ????????, 1000, 2000 ? 5000 ???..
• ??????? ? ?????????? – ?? ??????? ????? ? ?????? ?? ?????? ??? ??????.
?? ????? ????? ? ????? ??????. ? ??? ?????, ????? ???????? ??? ?????????, ???????? ??? ????????. ????? ??????? ???? ???????.
cost of rybelsus vs ozempic: rybelsus buy – overseas online pharmacy
https://antibiotics.cheap/# antibiotics cheap
I’m really enjoying the theme/design of your blog.
Do you ever run into any web browser compatibility issues?
A handful of my blog audience have complained about my blog
not operating correctly in Explorer but looks great in Safari.
Do you have any recommendations to help fix this issue?
kraken.
???? ?????? – ?????? ???????? ???????? ? Darknet
???????? ???????? Kraken Onion – ???? ?? ?????????? ????????? ? ????????, ??? ????????? ?????? ????????????? ????????, ????????? ????????? ? ??????, ???????????? ?????? ? ????? ?????? ?????? ? ?????????. ???????? ?????????????? ?????? ???????????, ? ????? ????????? ????????? ?????????????.
??????? ?? ???????
?? ??????? ??????????? ????? ?????? ? ??????:
• ????????? ????? ?????????? – ?? ????????? ? ???????????? ?? ??? ? ???????.
• ????????????? ?????????.
• ??????? ???????? VPN-????????.
• ?????? ???????.
• ????????, ?????????????, ???????????? ?????.
• ?????????? ? SIM ?????.
• ????????? ?????? – ? ????????, 1000, 2000 ? 5000 ???..
• ???????????? ? ??????? – ?? ??????? ????? ? ?????? ?? ?????? ??? ??????.
?????? ??????? ? ??????????. ? ??? ?????, ?????????? ???????????, ??????? ??? ???, ??? ?????????? ????????. ????? ?????? ????????? ????????? ? ?????? ??????.
mostbet kurzy fotbal http://mostbet2016.help
ivermectin 80 mg ivermectin ebay stromectol reviews
https://antibiotics.cheap/# antibiotics cheap
melbet pari ligue 1 côte divoire https://www.melbet38470.help
is compounded semaglutide, the same as ozempic: rybelsus wikipedia – safe online pharmacies
mostbet daily free spins https://www.mostbet62741.help
mines pin-up mines pin-up
stromectol reviews: stromectol reviews – stromectol reviews
1win app ??? android ??????? https://1win78514.help
https://semaglutide.life/# can rybelsus cause headaches
over the counter antibiotics: generic antibiotics – over the counter antibiotics
antibiotics cheap: online antibiotics – buy antibiotics over the counter
https://semaglutide.life/# what is the starting dose of semaglutide
https://semaglutide.life/# before and after semaglutide
https://antibiotics.cheap/# antibiotics cheap
when was rybelsus fda approved: semaglutide life – online pharmacy no prescription needed
mostbet bonus na první vklad https://mostbet2016.help
mostbet kurzové sázky mostbet2016.help
buy antibiotics from canada: over the counter antibiotics – over the counter antibiotics
ivermectin new zealand stromectol 3 mg price stromectol reviews
best time of day to take rybelsus: semaglutide life – shop medicine online
1win ??????? ????? 1win ??????? ?????
antibiotics cheap antibiotics cheap over the counter antibiotics
https://antibiotics.cheap/# antibiotics cheap
antibiotics cheap: antibiotics cheap – over the counter antibiotics
melbet historique des dépôts melbet historique des dépôts
??(?????)? ??·?? ?? ?? ??? ?? ??
?? ??????. ?? 2017? ‘?????’??
???? ????? ??? ??? ‘??’? ??
mostbet register app mostbet register app
??????? ???? ?????.
?????? Kraken – ?????? ???????? ???????? ????????
?????? Kraken Onion – ???? ?? ?????????? ????????? ? ????????, ??? ????????? ?????? ??????????? ???????????? ?????????, ????????? ????????? ? ??????, ????? ????????? ?? ?????? ? ????? ?????? ?????? ? ?????????. ???????? ?????????????? ?????? ???????????, ? ?????????? ????????? ??? ????? ??????.
??????? ?? ????? Kraken
?? ??????? ????? ????? ????? ???????????:
• ????????? ????? ?????????? – ?? ????????? ? ???????????? ?? ??????? ? ????????????.
• ????????? Bitcoin.
• ??????? ???????? ???.
• ?????? ???????.
• ????????, ?????????????, ???????????? ?????.
• ?????????? ? SIM ?????.
• ?????????? ???????? – ?????? – ?? 1000 ?? 5000 ??????.
• ???????????? ? ??????? – ??????, ?????, ??????????? ?????.
?????? ?????????? ? ????? ??????. ????????, ????? ???????????, ???????? ??? ???, ??? ?????????? ????????. ????? ??????? ???? ???????.
https://stromectol.reviews/# stromectol reviews
pin-up O?zbekistonda ro?yxatdan o?tish pin-up O?zbekistonda ro?yxatdan o?tish
stromectol reviews: stromectol reviews – stromectol reviews
cheapest compounded semaglutide: semaglutide life – trusted online pharmacy
https://stromectol.reviews/# stromectol tablets buy online
https://stromectol.reviews/# ivermectin where to buy for humans
semaglutide for alcoholism: how long does it take for rybelsus to start working for weight loss – no prescription pharmacy paypal
https://semaglutide.life/# rybelsus symptoms
1win ???? ??????? 1win ???? ???????
is rybelsus used for weight loss semaglutide life a1c down with rybelsus
over the counter antibiotics: over the counter antibiotics – antibiotics cheap