|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Aug 2004
Città: Firenze - Campi B.
Messaggi: 2225
|
[DEBIAN] Disabilitare il firewall o aggiungere una porta
Come faccio?
O disabilito il firewall o abilito una porta che mi serve! UN suggerimento veloce vi prego! ![]() help
__________________
|
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jan 2001
Città: Milano
Messaggi: 5707
|
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. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Aug 2004
Città: Firenze - Campi B.
Messaggi: 2225
|
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 ![]()
__________________
|
![]() |
![]() |
![]() |
#4 |
Member
Iscritto dal: Oct 2003
Città: ROM-€ distro: Fedora Core 2 kernel ver.: 2.6
Messaggi: 95
|
iptables -I INPUT 1 -i eth0 -p tcp --dport 27962 -j ACCEPT
prova ciao DL
__________________
-- Folding@Home ![]() mplayer -ao sdl:alsa:hw=device0.2 -ac hwac3,a52, -dvd-device /dev/dvd -stop-xscreensaver dvd:// ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 23:31.