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
top rated ed pills: Ed Meds Coupon – trusted online pharmacy
online pharmacy https://pharmrate.shop/# online pharmacy no rx
trustworthy online pharmacy https://edmedscoupon.com/# best online ed pills
Pharm Rate: Pharm Rate – Pharm Rate
discount ed pills Ed Meds Coupon safe online pharmacies
?????? ??? ????? ???? ???????????? http://melbet58706.help
vavada kontakt hrvatska http://www.vavada2006.help
?????? ??????? ?????.
???? Kraken – ?????? ??????? ???????????? ??????? ????????
?????? Kraken Onion – ?????? ??????? ? ????????, ??? ???? ????? ????? ???, ?????????? ????????, ???????? ? ?????????????, ???????????? ?????? ? ????? ?????? ?????? ? ?????????. ??????????? ?????????????? ?????? ???????????, ? ????? ????????? ????????? ?????????????.
??? ????? ?????? ? ???????? ?? ???????
?? ??????? ????? ????? ????? ?????? ? ??????:
• ??????? ??????????? ????????????? ??????? – ?? ????????? ? ???????????? ?? ??? ? ???????.
• ????????? Bitcoin.
• ??????? ???????? ???.
• ?????? ???????.
• ?????? ???? ??????????.
• ?????????? ????? ? ?????.
• ????????? ?????? – ? ????????, 1000, 2000 ? 5000 ???..
• ??????? ? ?????????? – ??????, ?????, ??????????? ?????.
?????? ??????? ? ??????????. ? ??? ?????, ????? ???????????, ??????? ??? ????????. ????? ????? ?????????.
???????????? ?????
???????? ???????????? ???????? Kraken:
• ??????? ??????? ?????????????????? ??? ????????? ? ??????????? ?? ???? ???????????? ? «??????? ????».
• ?????????? ??????????? ? ???????? ???????? ???????. ??? ??????????? ?????????????? ????????????.
• ?????? ? ??????? ?? ????????? ????????. ???????? ??? ?????????? – ???? ?????, ????? ???????.
• ??????????? ???? ?????????????. ??????????? ???????? ???????? ??????????? ? ????????????, ??????? ???????? ?????????????.
• ??????????? ???????, ??????????? ??????? ?????? ????? ?????? ????????.
• ???????????? ?????? ? ???. ?????? ????????? ???? ???????? ???? ????????? ?????????? ??????.
?? ???????? ????? ????????? ???????????? ?????????????? ??????. ????????????? ????? ???????? ???????????? ? ?????? ??? ?????????. ? ???? ????????? ???????? – ?????????? ? ????????????, ?????????? ? ????? ?????.
??? ???? ??????????? ??????? – ??????????? ?????. ???? ?? ?????? ? ????????????? ?????? ?????? ?????. ?? ????????? ?????? ????????? ???????? ???????, ??????? ? ?????????? ?? ?????? ???????????. ? ??? ???????????? ????????????? ??????? ? ????? ????????? ??? ??????? ??????????? ??????.
cheap erectile dysfunction pills: Ed Meds Coupon – secure medical online pharmacy
melbet kz ????? yumoney https://melbet48271.help
Pet Canada Direct ?»?dog medication online Pet Canada Direct
Pharm Rate: Pharm Rate – foreign online pharmacy
melbet ???????? ??? http://www.melbet58706.help
?????? ?????.
???? ?????? – ?????? ???????? ???????? ? Darknet
???????? ???????? Kraken Onion – ?????? ??????? ????????, ??? ????????? ?????? ???, ????????? ????????? ? ??????, ????? ????????? ?? ?????? ? ????? ?????? ?????? ? ?????????. ??????????? ????????????? ???????????? ??????????????????, ? ?????????? ????????? ????????? ?????????????.
??????? ?? ???????
?? ????? ????? ????? ????? ?????? ? ??????:
• ????????? ????? ????????????? ??????? – ?? ????????? ? ???????????? ?? ??????? ? ????????????.
• ????????????? Bitcoin.
• ??????? ???????? VPN-????????.
• ???????? ??????.
• ?????? ???? ??????????.
• ?????????? ? ?????????? ?????.
• ????????? ?????? – ?????? – ?? 1000 ?? 5000 ??????.
• ???????????? ? ??????? – ??????, ?????, ??????????? ?????.
?????? ??????? ? ??????????. ????????, ????? ???????? ??? ?????????, ???????? ??? ????????. ???? ??????????? ??????? ???? ???????.
????????? ?????? ?????
??????? ??? ?????? ??????? ?? ???????:
• ??????? ??????? ?????????????????? ??? ????????? ? ??????????? ????????? ???????????? ? «??????? ????».
• ????????????? BTC ??? ????????. ??? ??????????? ??????? ??????? ??????????????????.
• ??????????? ??????? ????? ?? ????????? ????????. ????? ??? ?? ????? – ????? ?????? ????????.
• ??????????? ???? ????? ??????? ??????????. ??????????? ???????? ???????? ?????????? ? ????????? ?????, ????????? 24 ???? ? ?????.
• ??????? ????????, ??????? ????????? ????? ????????????? ???????? ?????????.
• ???????????? ?????? ? ???. ???????? ??????? ???????? ????? ????????????.
?? ???????? ????? ????????? ???????????? ?????????????? ??????. ? ????? ????? ??? ????? ???????????????????? ? ??????-?????????? ??? ???????. ? ???? ????????? ???????? – ????????? ? ??????????, ?????????? ? ????? ?????.
?????????????? ???? ??????? – ??????? ?????? ??????. ??????? ? ???? ????? ?? ??????? ????? ???????. ?? ????????? ?????? ????????? ???????? ???????, ??????? ? ?????????? ?? ?????? ???????????. ? ??? ???????????? ???????? ? ????? ????????? ??? ?????? ?????? ??????????? ??????.
pet prescriptions online: pet drugs online – Pet Canada Direct
?????? ???? ????? ??????? ?????? ???? ????? ???????
mostbet ??????????? ???? http://www.mostbet14362.help
1win registro con codigo promo https://1win3005.mobi/
mostbet free bet berilmadi mostbet free bet berilmadi
pet meds online: Pet Canada Direct – Pet Canada Direct
online vet pharmacy Pet Canada Direct Pet Canada Direct
https://edmedscoupon.com/# get ed meds today
?????? ?? ????? ????? ?? ????? https://melbet48271.help
melbet ??????????? ? ?????????? melbet ??????????? ? ??????????
https://antibiotics.cheap/# get antibiotics quickly
?????? ??????????? ????? ??????? ?????? ??????????? ????? ???????
antibiotics cheap: generic antibiotics online pharmacy – antibiotics cheap
1win web http://1win3005.mobi
https://semaglutide.life/# rybelsus and januvia
mostbet akkauntga kirish http://www.mostbet65047.help
??????? ????????? ?????? ??????? ????????? ??????
antibiotics cheap: buy antibiotics online safely – antibiotics cheap
https://stromectol.reviews/# ivermectin cream 1%
mostbet poker mostbet75930.help
https://semaglutide.life/# best semaglutide
https://stromectol.reviews/# stromectol reviews
prescribed antibiotics online: antibiotics online purchase – over the counter antibiotics
antibiotics: over the counter antibiotics – over the counter antibiotics
mostbet ??????? ?? ????? http://www.mostbet05741.help
antibiotics cheap: over the counter antibiotics – ?»?buy antibiotics
mostbet kirish uchun mirror http://mostbet75930.help
stromectol reviews: stromectol over the counter – stromectol ivermectin buy
?????? ?? ?????? ?????? melbet48271.help
mostbet cheklov qo‘yish mostbet cheklov qo‘yish
CSGORUN ??????? ??????
CSGORUN ???????? ?????? — ??? ?????????????? ?????? ??? ??????-??????????, ????????? ? ????????? Counter-Strike ? ????????????? ?????????. ?????? ???????????? ???? ?????? ????????? ????????, ????? ???????? ?????????? ??????????? ? ???????? ??????? ? ???????? ????????.
??? ???????????? ????? CSGORUN
CSGORUN — ??? ???-??????, ??? ???????????? ????? ????????????????? ? ???????????? ??????????. ?????? ????? ????? ?????????? ????????? ???????? ??? ???????, ? ????? ?????? ??????? ? ???????? ????????, ???????? ? ???????????.
??? ?????? CSGORUN ??????? ???????? ????? ???????? ???????? ?? URL, ????? ?? ??????? ?? ?????????? ?????. ??? ???????? ?????, ???? ???????????? ????????? ????????? ???? ????? Steam ??? ???????????? ?????? ??????.
?????? ???????????? ???? ??????????? ????
??????? ??????? — ????????????. ?????? ??????????? ???? ?????? ????????????? ?????????? ???????, ??????? ??????? ? ??????????? ??????.
????? ????, ?? ??????????? ????? ??????????? ??????, ????? ? ???????? ? ?????????? ???????. ??? ????????? ????????????? ???????? ??????????? ?????? ???????? ?? ?????????.
??? ?????????? ??????????? ???? ????? CSGORUN ???????????? ??????, ????? ????????? ????????? ????????:
– ???????? ??????
– ??????? ??????????? ??????????
– ?????????? ?????????
– ?????? ?? ??????????? ??????? ??????? ??????? ???????
– ?????? ? ??????????? ?????????
???? ???? ???????? ????????, ????? ?? ??????? ????? ? ?????? ? ?? ????????? ?????????? ?? ?????? ????????.
???????????? ???????????? ?????
????????????? CSGORUN ?????????? ??????? ???? ????????? ???????????. ??-??????, ??? ???????? ??????. ??-??????, ???????????? ???????? ???????? ????????? ??? ?????????. ?-???????, ????????? ???? ??????????? ? ???????.
????? ???????? ???? ???? ????? ??????? ???????????, ???????????? ????? ??????????? ? ???????????? ?????????? ?????????????? ? ???????? ?????????.
????
CSGORUN ???????? ?????? — ??? ???????? ???? ??? ?????????????, ??????? ????? ???????????? ???????? ??? ?????? ??????. ??? ?????? ??????? ????? ?????? ????????? ?????, ??????? HTTPS ? ?????????????? ?????????.
over the counter antibiotics over the counter antibiotics pills antibiotics cheap
?????? ?????? http://melbet58706.help
antibiotics online pharmacy: antibiotics cheap – antibiotics cheap
?????? ??????? ??? ?????? melbet58706.help
mostbet ?????? mostbet ??????