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
??????? ??????? ?? ios ???????? https://mostbet14362.help/
https://semaglutide.life/# weight loss with rybelsus
how much weight can you lose on rybelsus in a month: how long has rybelsus been on the market – online pharmacies
?????? ????.
?????? Kraken – ?????? ???????? ???????? ? Darknet
???????? ???????? Kraken – ?????? ??????? ? ????????, ??? ????????? ?????? ??????????? ???????????? ?????????, ????????? ????????? ? ??????, ???????????? ?????? ? ????? ?????? ?????? ? ?????????. ??????????? ????????????? ???????????? ??????????????????, ? ?????????? ????????? ??? ????? ??????.
??? ????? ?????? ? ???????? ?? ???????
? ????????? ??????? ??????????? ????? ?????? ? ??????:
• ????????? ????? ?????????? – ?? ????????? ? ???????????? ?? ??? ? ???????.
• ????????? Bitcoin.
• ??????? ???????? ???.
• ?????? ???????.
• ?????? ???? ??????????.
• ?????????? ? ?????????? ?????.
• ????????? ?????? – ?????? – ?? 1000 ?? 5000 ??????.
• ???????????? ? ??????? – ??????, ?????, ??????????? ?????.
?????? ??????? ? ??????????. ????????, ????? ???????????, ??????? ??? ????????. ???? ??????????? ????? ?????????.
?????? ???? ??????.
?????? Kraken – ?????? ???????? ???????? ? Darknet
?????? ?????? – ?????? ??????? ????????, ??? ????????? ?????? ???, ????????? ????????? ? ??????, ????? ????????? ?? ????? ?????? ? ?????? ??????????. ??????????? ?????????????? ?????? ???????????, ? ????? ????????? ????????? ?????????????.
??? ????? ?????? ? ???????? ?? ????? Kraken
? ????????? ??????? ??????????? ????? ???????????:
• ????????? ????? ????????????? ??????? – ?? ?????? ? ???? ?? ??????? ? ????????????.
• ????????????? ???????????.
• ?????????? ???????? ???.
• ???????? ??????.
• ????????, ?????????????, ???????????? ?????.
• ?????????? ? SIM ?????.
• ????????? ?????? – ?????? – ?? 1000 ?? 5000 ??????.
• ??????? ? ?????????? – ?? ??????? ????? ? ?????? ?? ?????? ??? ??????.
?????? ??????? ? ????? ??????. ? ??? ?????, ????? ???????????, ???????? ??? ???, ??? ?????????? ????????. ???? ??????????? ?????? ???? ??????.
https://semaglutide.life/# semaglutide drugs
https://stromectol.reviews/# stromectol reviews
https://semaglutide.life/# semaglutide rybelsus
over the counter antibiotics: Over the counter antibiotics pills – antibiotics cheap
over the counter antibiotics: antibiotics cheap – antibiotics cheap
semaglutide and nausea: semaglutide life – worldwide pharmacy online
https://stromectol.reviews/# ivermectin over the counter canada
https://semaglutide.life/# how to store semaglutide
antibiotics cheap: over the counter antibiotics – over the counter antibiotics
mostbet ??? ??????? ?? MasterCard http://www.mostbet14362.help
get antibiotics quickly: buy antibiotics from canada – antibiotics cheap
how to inject semaglutide in thigh semaglutide life rybelsus tab
1win cashback casino 1win cashback casino
1win deposito usdt 1win deposito usdt
is compounded semaglutide, the same as ozempic: where does semaglutide come from – worldwide pharmacy
mostbet O?zbekistonda sport stavka http://mostbet65047.help
https://stromectol.reviews/# stromectol reviews
does tricare cover semaglutide semaglutide starting dose for weight loss rybelsus manufacturer coupon
mostbet sayt kirish muammo mostbet sayt kirish muammo
mostbet ro?yxatdan o?tish http://mostbet75930.help/
??????? ?? ?????? https://www.mostbet05741.help
??????? apk ??????? ???????? https://www.mostbet14362.help
??????? ??? ?????? https://mostbet14362.help/
ivermectin generic cream: stromectol reviews – stromectol reviews
https://stromectol.reviews/# stromectol reviews
ivermectin generic name ivermectin 200mg cost of ivermectin 1% cream
1win deposito fallido https://1win3005.mobi
https://antibiotics.cheap/# cheap antibiotics
half life of semaglutide: semaglutide life – buy online medicine
mostbet plinko turnir mostbet plinko turnir
over the counter antibiotics: buy antibiotics from canada – over the counter antibiotics
https://semaglutide.life/# rybelsus natural alternatives
mostbet bezplatné zato?ení mostbet bezplatné zato?ení
https://semaglutide.life/# how to get semaglutide for weight loss
over the counter antibiotics: over the counter antibiotics – antibiotics for uti over the counter
??????? ?? ??????????????? apk ??????? ?? ??????????????? apk
???? ??????? ??????????.
?????? Kraken – ?????? ???????? ???????? ????????
?????? Kraken Onion – ?????? ??????? ????????, ??? ????????? ?????? ??????????? ???????????? ?????????, ?????????? ????????, ???????? ? ?????????????, ????? ????????? ?? ????? ?????? ? ?????? ??????????. ??????????? ????????????? ???????????? ??????????????????, ? ?????????? ????????? ??? ????? ??????.
??????? ?? ????? Kraken
?? ????? ????? ????? ????? ?????? ? ??????:
• ??????? ??????????? ?????????? – ?? ????????? ? ???????????? ?? ??? ? ???????.
• ????????? ?????????.
• ??????? ???????? ???.
• ?????? ???????.
• ?????? ???? ??????????.
• ?????????? ? ?????????? ?????.
• ?????????? ???????? – ?????? – ?? 1000 ?? 5000 ??????.
• ??????? ? ?????????? – ?? ??????? ????? ? ?????? ?? ?????? ??? ??????.
?????? ??????? ? ????? ??????. ? ??? ?????, ????? ???????????, ??????? ??? ????????. ???? ??????????? ????? ?????????.
mostbet basketbal mostbet basketbal
1win deposito con neteller http://1win3005.mobi/
mostbet app mostbet app
melbet crash demo https://www.melbet38470.help
over the counter antibiotics: over the counter antibiotics – over the counter antibiotics
pin-up ilova o‘rnatish https://pinup28750.help/
1??? https://www.1win78514.help
https://antibiotics.cheap/# over the counter antibiotics