Auteur Sujet: Remplacement de la Livebox par un routeur Openwrt  (Lu 243162 fois)

0 Membres et 2 Invités sur ce sujet

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #444 le: 09 avril 2022 à 10:36:52 »
Même chose en wi-fi

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #445 le: 09 avril 2022 à 10:42:55 »
ben alors la je ne vois pas, il faut aller sur le forum openwrt du ax3600, ca doit etre un truc tout con...

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #446 le: 09 avril 2022 à 10:46:47 »
Tu peux faire un screen de ta page Network >> Switch ?
http://192.168.1.1/cgi-bin/luci/admin/network/switch

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #447 le: 09 avril 2022 à 10:52:43 »
Tu peux faire un screen de ta page Network >> Switch ?
http://192.168.1.1/cgi-bin/luci/admin/network/switch

Je n'ai pas la page Switch sur cette version...

Je vais essayer de voir... Je dirais si j'ai trouver la solution

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #448 le: 09 avril 2022 à 10:57:10 »
ha...
d'après wikidevi c'est le Qualcomm Atheros QCA8075 qui fait aoffice de switch.
https://wikidevi.wi-cat.ru/Xiaomi_Mi_AX3600

Le portage d'openwrt est loin d'etre fini sur ce routeur, il n'y a meme pas de snaphsot dispo...
je pense que tu aurais plus de chances de réussite en utilisant le firmware d'origine ROOTÉ.

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #449 le: 09 avril 2022 à 17:00:58 »
ben alors la je ne vois pas, il faut aller sur le forum openwrt du ax3600, ca doit etre un truc tout con...

Petite update :

J'ai refait l'installation au propre, le pare feux est bien le problème en tout cas pour l'IPV6 mais pour l'IPV4 je ne sais pas
Quand je désactive le par feux par un /etc/init.d/firewall stop quand j'essaie de ping 8.8.8.8 j'ai "Délai d’attente de la demande dépassé." mais j'ai acces a internet mais juste en IPV6
Sans le désactiver IPV6 et IPV4 me dise "Impossible de joindre le port de destination."

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #450 le: 09 avril 2022 à 17:14:30 »
si je stoppe le Firewall moi non plus je n'ai plus accès à internet, car si je ne dis pas de bétises il n'y a plus de NAT.

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #451 le: 09 avril 2022 à 17:28:20 »
essaie voir en supprimant ca de ton /etc/config/network

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 6t'
option vid '832'

puis /etc/init.d/network restart

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #452 le: 09 avril 2022 à 17:31:21 »
essaie voir en supprimant ca de ton /etc/config/network

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 6t'
option vid '832'

puis /etc/init.d/network restart

C'est déjà retirer je ne l'ai pas mis dans mon essai actuel

etc/config/firewall :
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1

config zone
option name lan
list   network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT

config zone
option name wan
list   network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 0
option family ipv4

config zone
option name wan6
list   network 'wan6'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 0
option mtu_fix 0
option family ipv6

config forwarding
option src lan
option dest wan

config forwarding
option src lan
option dest wan6

config include
option path '/etc/firewall.user'

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4

# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT

config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT

# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
option name Allow-DHCPv6
option src wan6
option proto udp
option src_ip fc00::/6
option dest_ip fc00::/6
option dest_port 546
option family ipv6
option target ACCEPT

config rule
option name Allow-MLD
option src wan6
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan6
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan6
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT

config rule
option name Allow-IPSec-ESP
option src wan
option dest lan
option proto esp
option target ACCEPT

config rule
option name Allow-ISAKMP
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
# option src lan
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
# option target REJECT

# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
# option target REJECT

# block incoming ICMP traffic on a zone
#config rule
# option src lan
# option proto ICMP
# option target DROP

# port redirect port coming in on wan to lan
#config redirect
# option src wan
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
# option dest_port 80
# option proto tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
# option src wan
# option src_dport 22001
# option dest lan
# option dest_port 22
# option proto tcp

### FULL CONFIG SECTIONS
#config rule
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 80
# option dest wan
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
# option target REJECT

#config redirect
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 1024
# option src_dport 80
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp

etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fd08:5a5b:b71a::/48'

config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
list ports 'eth2'
list ports 'eth3'

config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '64'

config interface 'wan'
option device 'eth0.832'
option proto 'dhcp'
option broadcast '1'
option vendorid 'sagem'
option reqopts '1 15 28 51 58 59 90'
option sendopts '77:2b46535644534c5f6c697665626f782e496e7465726e65742e736f66746174686f6d652e4c697665626f7834 90:00000000000000000000001a0900000558010341010d6674692F'

config interface 'wan6'
option device 'eth0.832'
option proto 'dhcpv6'
option reqprefix 'auto'
option reqaddress 'none'
option defaultreqopts '0'
option sendopts '11:00000000000000000000001a0900000558010341010d6674692F 15:FSVDSL_livebox.Internet.softathome.livebox4 16:0000040e0005736167656d'
option reqopts '11 17 23 24'
option noclientfqdn '1'
option noacceptreconfig '1'
option peerdns '0'
list dns '2606:4700:4700::1111'
list dns '2606:4700:4700::1001'

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #453 le: 09 avril 2022 à 20:08:33 »
Bon maintenant IPV6 fonctionne normalement, j'ai un peu toucher au règle du firewall et ca a marcher.

Mais toujours pas IPV4, mon problème se situerais peut-être au niveau du NAT ?

cetipabo

  • Invité
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #454 le: 09 avril 2022 à 20:43:06 »
est-ce que tu peux pinguer l'ip d'un autre PC branché sur un des ports du routeur ?

Belgorf

  • Abonné Bbox fibre
  • *
  • Messages: 29
Remplacement de la Livebox par un routeur Openwrt 18+ (DHCP V4/V6 + TV).
« Réponse #455 le: 09 avril 2022 à 20:58:08 »
est-ce que tu peux pinguer l'ip d'un autre PC branché sur un des ports du routeur ?

oui je peux