Différences entre les versions de « OpenWrt Références (old) »

De Marmits Wiki
 
(13 versions intermédiaires par le même utilisateur non affichées)
Ligne 77 : Ligne 77 :


https://itigic.com/fr/openwrt-21-02-is-official-all-improvements/
https://itigic.com/fr/openwrt-21-02-is-official-all-improvements/
http://tvaira.free.fr/bts-sn/reseaux/tp/tp-4-vlan.pdf
http://mbaudin.free.fr/walkonthegrass/lan.html
https://fr.fondoperlaterra.org/comdifference-between-lan-and-vlan-21
https://www.ciscomadesimple.be/2009/08/05/cisco-configuration-de-vlans-sur-un-switch/comment-page-1/
https://openclassrooms.com/fr/courses/7192261-simulez-le-schema-de-votre-reseau-avec-cisco-packet-tracer/7444275-utilisez-les-vlan-pour-reduire-vos-domaines-de-diffusion
https://inetdoc.net/articles/inter-vlan-routing/inter-vlan-routing.lan.html
https://lamdaouarmohamed.files.wordpress.com/2015/11/tp1_sisr4.pdf
https://forum.jeedom.com/viewtopic.php?f=50&t=11339&sid=f8bbc5f939b7836bb11652f1add7a329&start=40


==relay ipv6==
==relay ipv6==
https://forum.openwrt.org/t/ipv6-configuration-relay-single-64-prefix/53461/6
https://openwrt.org/docs/guide-user/network/ipv6/start#router_advertisement_dhcpv6
https://forum.freenews.fr/index.php?topic=83853.0
https://lafibre.info/remplacer-livebox/remplacement-de-la-livebox-par-un-routeur-openwrt-18-dhcp-v4v6-tv/
https://www.infobyip.com/tcpportchecker.php
== IPv6 ==
statefull avec etat
stateless sans etat
exemple:
2001:0db8:0000:85a3:0000:0000:ac1f:8001
=
2001:db8:0:85a3::ac1f:8001
::1/128 est l'adresse localhost, semblable à 127.0.0.1 en IPv4
divers:
https://connect.ed-diamond.com/GNU-Linux-Magazine/glmfhs-041/netfilter-et-le-filtrage-du-protocole-ipv6


==ROUTING==
==ROUTING==
(meme reseaux)
https://openwrt.org/docs/guide-user/network/routing/examples/routing_in_ipv4


==Guest Network==
==Guest Network==
https://wiki.dd-wrt.com/wiki/index.php/Guest_Network#Notest
https://forum.netgate.com/topic/104277/tutorial-pfsense-openwrt-multiple-ssids-and-vlans
https://lafibre.info/tcpip/vlan-isolation-invites/
https://www.linuxscrew.com/openwrt-segregated-wifi


==filtrage==
==filtrage==
https://www.brooksnet.com/how-do-i-configure-my-firewall
https://objnux.fr/index.php?post/2021/12/13/OpenWrt-Adressage-IP-et-Interfaces
https://debian-facile.org/doc:reseau:iptables-pare-feu-pour-un-client
https://lea-linux.org/documentations/VLAN_Bridging_ebtables
https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guest-wlan


==idée ...==  
==idée ...==
mettre le pi dans sous-reseaux séparés (vlan) reliés au réseau public Internet
 
->https://inetdoc.net/travaux_pratiques/interco.inter-vlan.qa/interco.inter-vlan.qa.typical.html


==IPTv==
==IPTv==
https://openwrt.org/docs/guide-user/network/wan/udp_multicast


==DNSMASQ==
==DNSMASQ==
sur openwrt:
https://www.linux.com/topic/networking/advanced-dnsmasq-tips-and-tricks/
dnsmasq.conf
https://sites.google.com/site/virtualdesktoplinkboxbox/home/computing/electronics/routers/openwrt?tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&showPrintDialog=1
<pre>
server=/raspi/10.25.1.2
server=/zotac/10.25.2.10
server=/nas/10.25.5.5
server=/macbook/10.25.3.7
</pre>
Go into the /etc/dsnmasq.d/ directory, and add a new config file (you can name it something like 20-custom_records.conf) that will contain your entries:
<pre>
address=/plex.lan/192.0.2.11
address=/deluge.lan/192.0.2.12 
</pre>
Pour les paramètres DNS et DHCP, adaptez simplement ce que dd-wrt génère par défaut à chaque instance dnsmasq spécifique au VLAN. Jetez un œil à /tmp/dnsmasq.conf comme modèle pour ces paramètres.
<pre>
local-ttl=1
expand-hosts
domain=dom
address=/computer.dom/11.22.33.44
</pre>
https://www.systemajik.com/ubuntu-and-openwrt-dnmasq-setup/?cn-reloaded=1
<pre>
dnsmasq --test
</pre>
will do basic syntax checks on the config files


==WIFI==
==WIFI==
WiFi, both 2ghz and 5ghz at the same time on the same SSID:
https://forum.openwrt.org/t/wifi-both-2ghz-and-5ghz-at-the-same-time-on-the-same-ssid/40963/7


==Bande passante==
==Bande passante==
QOS
https://oldwiki.archive.openwrt.org/doc/uci/qos
explications:
https://itigic.com/fr/qos-and-bandwidth-control-how-it-works-and-usage-examples/
https://www.thefastcode.com/fr-eur/article/how-to-use-quality-of-service-qos-to-get-faster-internet-when-you-really-need-it
on contrôle ce que le routeur envoi au LAN ou VLAN ou au WAN
luci-app_sqm
https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm-details
https://www.youtube.com/watch?v=OPtFTcX92lw
https://www.youtube.com/watch?v=OPtFTcX92lw
https://www.youtube.com/watch?v=7982Z44ebOc


==Dépannage==  
==Dépannage==  
https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset
[[Catégorie:OpenWrt]]
[[Catégorie:OpenWrt]]

Version actuelle datée du 22 mai 2024 à 13:48

Sous-réseaux video

https://www.youtube.com/watch?v=zDNjm3odRpI

IP masque

calcul du nombre de machines:

https://cric.grenoble.cnrs.fr/Administrateurs/Outils/CalculMasque/

Imprimante scanner bonjour

SOLUTIONS:

https://blog.christophersmart.com/2020/03/30/resolving-mdns-across-vlans-with-avahi-on-openwrt/$

port canon:

https://support.usa.canon.com/kb/index?page=content&id=ART109227

pour infos

Redirection de port ?

car subnet ?

https://forum.geekzone.fr/t/imprimer-dans-un-subnet-different/65075/6

https://www.le-vpn.com/fr/quest-ce-quune-redirection-de-port/

https://doc.ubuntu-fr.org/tutoriel/installer_imprimante_canon

scan

https://doc.ubuntu-fr.org/scanner_en_wifi_avec_hp-photosmart_plus_b210

https://doc.ubuntu-fr.org/tutoriel/installer_imprimante_canon#installer_le_logiciel_de_numerisation_ou_un_scanner_canon_sous_ubuntu

https://doc.ubuntu-fr.org/tutoriel/utiliser_un_scanner_en_reseau

https://www.macbookcity.fr/macos/6513/installer-un-scanner-sur-mac

port bonjour 5353 ?

lpr 515 ?

515 TCP Line Printer (LPR), Line Printer Daemon (LPD) - Used for printing to a network printer, Printer Sharing in Mac OS X.

631 TCP Internet Printing Protocol (IPP) Mac OS X Printer Sharing.

5353 UDP Multicast DNS (MDNS) Bonjour (mDNSResponder)

https://community.arubanetworks.com/browse/articles/blogviewer?blogkey=489309a9-b6b7-4d06-b75f-40aea3730ce7

tp-link recuperation TFTP

https://byfeel.info/debridez-votre-routeur-avec-openwrt/

https://community.tp-link.com/en/home/forum/topic/81462?page=1

https://openwrt.org/docs/guide-user/troubleshooting/tftpserver

Vlan

https://doc.huc.fr.eu.org/fr/sys/openwrt/about/

https://lafibre.info/tcpip/vlan-isolation-invites/

https://openwrt.org/fr/docs/guide-user/network/ipv6/freebox

https://julien.io/ipv6-sur-un-routeur-unifi-avec-une-freebox/

*https://blog.kulakowski.fr/post/openwrt-derriere-une-freebox-ipv6-dmz-et-bridge

https://utux.fr/index.php?article13/free-bridge-ipv6

https://www.osnet.eu/fr/content/tutoriels/ipv6-sur-une-freebox-en-bridge-avec-opnsense-ou-pfsense?page=1

https://lafibre.info/remplacer-livebox/remplacement-de-la-livebox-par-un-routeur-openwrt-18-dhcp-v4v6-tv/

http://www.guiguishow.info/2010/08/13/adieu-dg834g-bonjour-wrt54gl-et-openwrt/#toc-12-dsinstaller-quelques-packages

https://itigic.com/fr/openwrt-21-02-is-official-all-improvements/

http://tvaira.free.fr/bts-sn/reseaux/tp/tp-4-vlan.pdf

http://mbaudin.free.fr/walkonthegrass/lan.html

https://fr.fondoperlaterra.org/comdifference-between-lan-and-vlan-21

https://www.ciscomadesimple.be/2009/08/05/cisco-configuration-de-vlans-sur-un-switch/comment-page-1/

https://openclassrooms.com/fr/courses/7192261-simulez-le-schema-de-votre-reseau-avec-cisco-packet-tracer/7444275-utilisez-les-vlan-pour-reduire-vos-domaines-de-diffusion

https://inetdoc.net/articles/inter-vlan-routing/inter-vlan-routing.lan.html

https://lamdaouarmohamed.files.wordpress.com/2015/11/tp1_sisr4.pdf

https://forum.jeedom.com/viewtopic.php?f=50&t=11339&sid=f8bbc5f939b7836bb11652f1add7a329&start=40

relay ipv6

https://forum.openwrt.org/t/ipv6-configuration-relay-single-64-prefix/53461/6

https://openwrt.org/docs/guide-user/network/ipv6/start#router_advertisement_dhcpv6

https://forum.freenews.fr/index.php?topic=83853.0

https://lafibre.info/remplacer-livebox/remplacement-de-la-livebox-par-un-routeur-openwrt-18-dhcp-v4v6-tv/

https://www.infobyip.com/tcpportchecker.php

IPv6

statefull avec etat

stateless sans etat

exemple:

2001:0db8:0000:85a3:0000:0000:ac1f:8001 = 2001:db8:0:85a3::ac1f:8001

1/128 est l'adresse localhost, semblable à 127.0.0.1 en IPv4

divers:

https://connect.ed-diamond.com/GNU-Linux-Magazine/glmfhs-041/netfilter-et-le-filtrage-du-protocole-ipv6

ROUTING

(meme reseaux)

https://openwrt.org/docs/guide-user/network/routing/examples/routing_in_ipv4

Guest Network

https://wiki.dd-wrt.com/wiki/index.php/Guest_Network#Notest

https://forum.netgate.com/topic/104277/tutorial-pfsense-openwrt-multiple-ssids-and-vlans

https://lafibre.info/tcpip/vlan-isolation-invites/

https://www.linuxscrew.com/openwrt-segregated-wifi

filtrage

https://www.brooksnet.com/how-do-i-configure-my-firewall

https://objnux.fr/index.php?post/2021/12/13/OpenWrt-Adressage-IP-et-Interfaces

https://debian-facile.org/doc:reseau:iptables-pare-feu-pour-un-client

https://lea-linux.org/documentations/VLAN_Bridging_ebtables

https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guest-wlan

idée ...

mettre le pi dans sous-reseaux séparés (vlan) reliés au réseau public Internet

->https://inetdoc.net/travaux_pratiques/interco.inter-vlan.qa/interco.inter-vlan.qa.typical.html

IPTv

https://openwrt.org/docs/guide-user/network/wan/udp_multicast

DNSMASQ

sur openwrt:

https://www.linux.com/topic/networking/advanced-dnsmasq-tips-and-tricks/

dnsmasq.conf

https://sites.google.com/site/virtualdesktoplinkboxbox/home/computing/electronics/routers/openwrt?tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&showPrintDialog=1

server=/raspi/10.25.1.2
server=/zotac/10.25.2.10
server=/nas/10.25.5.5
server=/macbook/10.25.3.7

Go into the /etc/dsnmasq.d/ directory, and add a new config file (you can name it something like 20-custom_records.conf) that will contain your entries:

address=/plex.lan/192.0.2.11
address=/deluge.lan/192.0.2.12   

Pour les paramètres DNS et DHCP, adaptez simplement ce que dd-wrt génère par défaut à chaque instance dnsmasq spécifique au VLAN. Jetez un œil à /tmp/dnsmasq.conf comme modèle pour ces paramètres.

local-ttl=1
expand-hosts
domain=dom
address=/computer.dom/11.22.33.44

https://www.systemajik.com/ubuntu-and-openwrt-dnmasq-setup/?cn-reloaded=1

dnsmasq --test 

will do basic syntax checks on the config files

WIFI

WiFi, both 2ghz and 5ghz at the same time on the same SSID:

https://forum.openwrt.org/t/wifi-both-2ghz-and-5ghz-at-the-same-time-on-the-same-ssid/40963/7

Bande passante

QOS https://oldwiki.archive.openwrt.org/doc/uci/qos

explications:

https://itigic.com/fr/qos-and-bandwidth-control-how-it-works-and-usage-examples/

https://www.thefastcode.com/fr-eur/article/how-to-use-quality-of-service-qos-to-get-faster-internet-when-you-really-need-it

on contrôle ce que le routeur envoi au LAN ou VLAN ou au WAN

luci-app_sqm

https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm-details

https://www.youtube.com/watch?v=OPtFTcX92lw

https://www.youtube.com/watch?v=OPtFTcX92lw

https://www.youtube.com/watch?v=7982Z44ebOc

Dépannage

https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset