Page 1 sur 1

[parefeu] ajouter regle flux tv freebox vlc (RESOLU)

Publié : lun. 29 mai 2017, 18:07
par melissa6969
bonjour.

je cherche à ajouter une régle dans le parefeu (Gufw) pour pouvoir regarder la télé de ma Freebox via VLC..
j'ai choisis Allow/In (entrant)/UDP et j'ai collé 212.27.38.253, mais..... je peux toujours pas regarder la tv sans désactiver le parefeu..

étant totalement novice en réseau, et tout ce qui tourne autour, je dois avouer que je galère pas mal beaucoup (énormément même).....
je peux regarder la tv via VLC mais en désactivant manuellement le parefeu par

Code : Tout sélectionner

systemctl stop ufw.service
si on pouvait m'éclairer sur le problème, me donner des tuyaux je suis pas contre..
parce que désactiver à chaque fois le parefeu pour regarder la tv, c'est un peu chiant, et j'y penserais pas systématiquement en +, me connaissant...

le but de cette démarche.??
garder actif le parefeu tout le temps et ajouter une règle pour le flux VLC, si c'est faisable bien sur....

vous êtes mon dernier espoir avant abandon total........ :cry: :cry: :cry: :cry: :cry:
voilà voilà merci.

Re: [parefeu] ajouter regle flux tv freebox vlc

Publié : lun. 29 mai 2017, 18:26
par waitnsea
melissa6969 a écrit : lun. 29 mai 2017, 18:07je cherche à ajouter une régle dans le parefeu (Gufw) pour pouvoir regarder la télé de ma Freebox via VLC..
Bonjour,
Après une brève recherche je vois ce post : viewtopic.php?t=6252 mais je n'ai rien trouvé avec Gufw, que je n'utilise pas.
Pour apprendre iptables, plusieurs posts de benjarobin :
post135954.html#p135954
viewtopic.php?p=135940#p135940
viewtopic.php?f=5&t=18462&sid=cfc041ade ... 14e3fda098
viewtopic.php?f=5&t=19161&sid=f4f845158 ... 8db5ed3091

Re: [parefeu] ajouter regle flux tv freebox vlc

Publié : lun. 29 mai 2017, 18:53
par FoolEcho
melissa6969 a écrit : lun. 29 mai 2017, 18:07 je peux regarder la tv via VLC mais en désactivant manuellement le parefeu par
Vu que ça fonctionne si tu désactives le firewall, c'est nécessairement que tu as au moins une règle qui te bride.

(g)ufw n'est qu'une surcouche à iptables, on devrait donc pouvoir voir ce qui coince avec iptables -L .
Plus de commandes selon ta configuration: https://www.inetdoc.net/guides/iptables ... tions.html .

A voir effectivement avec les précédents posts de benjarobin. :chinois:

Re: [parefeu] ajouter regle flux tv freebox vlc

Publié : lun. 29 mai 2017, 18:54
par melissa6969
merci pour ta réponse c'est gentil..
mais malgré les liens que tu m'as donné, je comprends rien du tout... :( :(
je suis vraiment mauvaise avec tout ce qui est réseau...
pourtant tes liens sont riches en informations, mais pour moi c'est du chinois, j'ai beau relire plusieurs fois, je comprends pas grand chose..... :( :(

mon iptables -L j'ai rien ajouté ni autre, mais je comprends rien au résultat... c'est du petit chinois..!!!!!

Code : Tout sélectionner

[arch@arch]: ~>$ sudo iptables -L
[sudo] Mot de passe de arch : 
Chain INPUT (policy DROP)
target     prot opt source               destination         
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input  all  --  anywhere             anywhere            
ufw-track-input  all  --  anywhere             anywhere            

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ufw-before-logging-forward  all  --  anywhere             anywhere            
ufw-before-forward  all  --  anywhere             anywhere            
ufw-after-forward  all  --  anywhere             anywhere            
ufw-after-logging-forward  all  --  anywhere             anywhere            
ufw-reject-forward  all  --  anywhere             anywhere            
ufw-track-forward  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-logging-output  all  --  anywhere             anywhere            
ufw-before-output  all  --  anywhere             anywhere            
ufw-after-output  all  --  anywhere             anywhere            
ufw-after-logging-output  all  --  anywhere             anywhere            
ufw-reject-output  all  --  anywhere             anywhere            
ufw-track-output  all  --  anywhere             anywhere            

Chain ufw-after-forward (1 references)
target     prot opt source               destination         

Chain ufw-after-input (1 references)
target     prot opt source               destination         
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-ns
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-dgm
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:netbios-ssn
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:microsoft-ds
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootps
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootpc
ufw-skip-to-policy-input  all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-after-output (1 references)
target     prot opt source               destination         

Chain ufw-before-forward (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-user-forward  all  --  anywhere             anywhere            

Chain ufw-before-input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere             ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere            
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:ssdp
ufw-user-input  all  --  anywhere             anywhere            

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination         

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination         

Chain ufw-before-output (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-user-output  all  --  anywhere             anywhere            

Chain ufw-logging-allow (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "

Chain ufw-logging-deny (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             ctstate INVALID limit: avg 3/min burst 10
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-not-local (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
ufw-logging-deny  all  --  anywhere             anywhere             limit: avg 3/min burst 10
DROP       all  --  anywhere             anywhere            

Chain ufw-reject-forward (1 references)
target     prot opt source               destination         

Chain ufw-reject-input (1 references)
target     prot opt source               destination         

Chain ufw-reject-output (1 references)
target     prot opt source               destination         

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-track-forward (1 references)
target     prot opt source               destination         

Chain ufw-track-input (1 references)
target     prot opt source               destination         

Chain ufw-track-output (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-user-forward (1 references)
target     prot opt source               destination         

Chain ufw-user-input (1 references)
target     prot opt source               destination         

Chain ufw-user-limit (0 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination         

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination         

Chain ufw-user-output (1 references)
target     prot opt source               destination         
[arch@arch]: ~>$

Re: [parefeu] ajouter regle flux tv freebox vlc

Publié : lun. 29 mai 2017, 19:40
par waitnsea
Bon, ce n'es pas d'une correction infinie de poser la même question sur deux forums différents.
Il vaut peut-être mieux chercher soi-même que faire bosser les autres à sa place , lena-Melissa ! Troll un jour, Troll toujours ?

Re: [parefeu] ajouter regle flux tv freebox vlc

Publié : lun. 29 mai 2017, 20:08
par melissa6969
on pose la même question sur différents forums pour avoir + de chance d'obtenir de réponse et de manip à faire pour corriger éventuellement le problème.
plein de monde pose leur question à divers endroits.
je suis pas un troll, mes prénoms c'est Mélissa et Léna en effet, pas ma faute si j'en ai deux ^^