View Full Version : [DEBIAN] Disabilitare il firewall o aggiungere una porta
idt_winchip
20-03-2005, 21:43
Come faccio?
O disabilito il firewall o abilito una porta che mi serve!
UN suggerimento veloce vi prego!:(
help
rozzamente:
iptables -I INPUT 0 -i xxx -p tcp -dport yy -j ACCEPT
dove xxx è il nome dell'interfaccia su cui vuoi abilitare la porta (ad esempio eth0 o ppp0) e yy è la porta.
idt_winchip
21-03-2005, 14:35
ho provato ma:
fuckpc:/home/qwert# iptables 0 -I INPUT -i eth0 -p tcp -dport 27962 -j ACCEPT
Bad argument `0'
Try `iptables -h' or 'iptables --help' for more information.
non sapendo che fare ho tolto '0' e mi dice:
fuckpc:/home/qwert# iptables -I INPUT -i eth0 -p tcp -dport 27962 -j ACCEPT
Bad argument `27962'
Try `iptables -h' or 'iptables --help' for more information.
...help:(
DeadLock
21-03-2005, 15:04
iptables -I INPUT 1 -i eth0 -p tcp --dport 27962 -j ACCEPT
prova
ciao
DL
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.