-
Fototrend
OpenWrt topic
Új hozzászólás Aktív témák
-
-
poffsoft
veterán
válasz
vargalex
#10534
üzenetére
Nem, a mwan3-at leszedtem, mert a multivan fixen fent van, nem leszedhető. Plusz sokkal egyszerűbb a felület.
Plusz nincs tele hibaüzenetekkel (metrika, default routing).
Igen, wan és wan2 a wan zónában, a lan pedig lan zónában van, ahogy wiki írja.
Network:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'config globals 'globals'
option ula_prefix 'fdea:0fd2:0bf9::/48'config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.2.1'
option stp '1'config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option username '..........'
option password '..........'config interface 'wan2'
option ifname 'eth0.3'
option proto 'dhcp'
option delegate '0'
option auto '0'config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 3 4 5'config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '0t 1'config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 2'Multiwan
config multiwan 'config'
option default_route 'fastbalancer'
option enabled '0'config interface 'wan'
option icmp_hosts 'dns'
option health_recovery_retries '5'
option dns 'auto'
option health_fail_retries '3'
option health_interval '10'
option timeout '3'
option weight '1'
option failover_to 'fastbalancer'config mwanfw
option wanrule 'fastbalancer'config interface 'wan2'
option icmp_hosts 'dns'
option health_recovery_retries '5'
option dns 'auto'
option health_fail_retries '3'
option health_interval '10'
option timeout '3'
option weight '1'
option failover_to 'balancer'Mwan3 (most uninstalled)
config interface 'wan2'
option reliability '1'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
option metric '2'
list track_ip '8.8.4.4'
option enabled '0'config interface 'wan'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
option metric '1'
list track_ip '8.8.4.4'
option reliability '1'
option enabled '0'config member 'wan_m1_w3'
option interface 'wan'
option metric '1'
option weight '3'config member 'wan_m2_w3'
option interface 'wan'
option metric '2'
option weight '3'config member 'wan2_m1_w2'
option interface 'wan2'
option metric '1'
option weight '2'config member 'wan2_m2_w2'
option interface 'wan2'
option metric '2'
option weight '2'config policy 'wan_only'
list use_member 'wan_m1_w3'config policy 'wan2_only'
list use_member 'wan2_m1_w2'config policy 'balanced'
list use_member 'wan_m1_w3'
list use_member 'wan2_m1_w2'config policy 'wan_wan2'
list use_member 'wan_m1_w3'
list use_member 'wan2_m2_w2'config policy 'wan2_wan'
list use_member 'wan_m2_w3'
list use_member 'wan2_m1_w2'config rule 'sticky_even'
option src_ip '0.0.0.0/0.0.0.1'
option dest_port '443'
option proto 'tcp'
option use_policy 'wan_wan2'config rule 'sticky_odd'
option src_ip '0.0.0.1/0.0.0.1'
option dest_port '443'
option proto 'tcp'
option use_policy 'wan2_wan'config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'balanced' -
poffsoft
veterán
válasz
vargalex
#10512
üzenetére
így tettem.
Akkor most a mwan3-at kellene beállítani.
Ha engedélyezem, máris megszakad a kapcsolat a routerrel is, meg persze a nettel is.A load balancing/Áttekintés-nél a wan és a wan2 is offline (ha be vannak kapcsolva).
Az Advanced/Diagnostika-nál
wan:
ping default: no gateway
ping tracking: no gateway
checking routing table: no default routingwan2:
ping default: 192.168.3.1 ok.
ping tracking: 192.168.3.1. okszóval, hogyan tovább?
-
poffsoft
veterán
válasz
vargalex
#10497
üzenetére
Lehet, de ezt tuti nem én csináltam.
A lan meg wan nincs bridge-ben tudtommal. A lan iface-ben a lan és a wifik vannak bridgelve.Na, most meg a luci van összeomolva, nem tudok belépni:
/usr/lib/lua/luci/sauth.lua:49: Session data invalid!
stack traceback:
: in function 'assert'
/usr/lib/lua/luci/sauth.lua:49: in function 'read'
/usr/lib/lua/luci/sauth.lua:72: in function 'reap'
/usr/lib/lua/luci/dispatcher.lua:278: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:124: in function </usr/lib/lua/luci/dispatcher.lua:123> [/M] -
poffsoft
veterán
válasz
Headless
#10488
üzenetére
Ahogy nézem, a wan-nál maradtak szenzitívek, kösz.
Suste, Headless:
Abban biztosak lehettek, hogy egyiket sem én szerkesztettem, kézzel.
Valóban jó nagy a katyvasz.
Openwikit (is) átrágtam, de nekem nem működött.
Tudom, hogy a portok száma több.
Tudom, hogy maradt egy üres vlanom, de nem hiányzik. -
poffsoft
veterán
válasz
vargalex
#10484
üzenetére
Igen, tudom.
Valójában a kapcsoló menüben önálló vlanba raktam a wan2-t.Network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'config globals 'globals'
option ula_prefix 'fdea:0fd2:0bf9::/48'config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.2.1'
option delegate '0'
option stp '1'
option _orig_ifname 'eth0.1 wlan0 wlan1'
option _orig_bridge 'true'
option ifname 'eth0.1'
option gateway '192.168.2.100'
option dns '192.168.2.100'config interface 'wan'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option ifname 'eth0.2'
option proto 'pppoe'
option username '*********'
option password '*********'config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 4 5'config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '0t 1'config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 2'config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '0t 3'Firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan To4g 2router'config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6 wwan 2wan wan3 wan2'config forwarding
option src 'lan'
option dest 'wan'config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'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-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fe80::/10'
option src_port '547'
option dest_ip 'fe80::/10'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
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'config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
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 include
option path '/etc/firewall.user'config rule
option src 'lan'
option name 'Block-Internet-Access'
option src_ip '192.168.1.110'
option target 'DROP'
option dest 'wan'
option extra '-m time --localtz --weekdays Mon,Tue,Wed,Thu,Fri --timestart 10:00 --timestop 22:00'
option enabled '0'config rule
option target 'ACCEPT'
option name 'Transmission-web'
option family 'ipv4'
option dest_port '9091'
option proto 'tcp'
option src '*'config rule
option target 'ACCEPT'
option name 'Transmission'
option family 'ipv4'
option src 'wan'
option dest_port '21234-21300'config rule
option target 'ACCEPT'
option src 'wan'
option proto 'tcp'
option dest_port '443'
option family 'ipv4'
option name 'Luci-HTTPS'
option enabled '0'config rule
option target 'ACCEPT'
option src 'wan'
option proto 'tcp'
option dest_port '50000-50100'
option name 'FTP-WAN-Passive-Ports'
option family 'ipv4'config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp'
option src_dport '9094'
option dest_port '21'
option name 'FTP-Forward'
option enabled '0'
option dest_ip '192.168.2.1'config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp'
option src_dport '9095'
option dest_port '22'
option name 'SSH-Forward'
option enabled '0'
option dest_ip '192.168.2.1'config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'any'
option reload '1'config rule
option target 'ACCEPT'
option src 'wan'
option proto 'tcp'
option name 's9999'
option dest_port '9999'config rule
option target 'ACCEPT'
option src 'wan'
option proto 'tcp udp'
option dest_port '9092'
option name 's9092'config zone
option output 'ACCEPT'
option name 'guest_guest'
option network 'guest_guest'
option input 'ACCEPT'
option forward 'ACCEPT'config rule
option target 'ACCEPT'
option src 'guest_guest'
option name 'guest-DNS'
option dest_port '53'config rule
option target 'ACCEPT'
option src 'guest_guest'
option name 'guest-DHCP'
option src_port '67-68'
option dest_port '67-68'config forwarding
option src 'guest_guest'
option dest 'wan'config rule
option target 'ACCEPT'
option src 'guest_guest'
option dest 'lan'
option name 'Canon'
option dest_ip '192.168.2.174'config rule
option enabled '1'
option target 'ACCEPT'
option src 'wan'
option proto 'tcp udp'
option name 'Torrent'
option dest '*'
option dest_port '20001-20100'[ Módosította: Intruder2k5 ]
-
poffsoft
veterán
válasz
vargalex
#10480
üzenetére
Van egy eth0.2 switch wan, ez pppoe (itt a modem bridge)
Van egy eth0.3 switch wan2 néven, ezen lógna a mobil router (huawei b593u) , ami a 192.168.3.1 címről dhcp-zik. A wan2 értelemszerűen dhcp kliens.
A wan és a wan2 a wan firewall zone-ban van.
Van egy eth0.1 LAN interfész, a 192.168.2.1 címről dhcp-zik lan felé. Ez a lan firewall zone-ben vanA mwan3 beállításai pedig gyári állapotban (konkrétan most el van távolítva, mivel ha feltelepítem, bármit csinálok, nincs internet a routeremen...)
-
poffsoft
veterán
Sziasztok, ez inkább hálózatépítéses kérdés, de lassan megőrülök..
Szóval, adott a wdr3600 (Suste BB-vel), a wan-on lóg a net , pppoe-vel.
Van egy mobilnet router, huawei B593, ennek a netét kellene megosztani a WDR3600-zal.
A huawei csak dhcp-zni tud, semmi más üzemmód nincs rajta.
Ha a wdr wan-t dhcp kliensre váltom, és rádugom a huaweit: nincs net (bár a routerek beszélgetnek)
ha fix ip-re rakom: nincs net.ha multiwant kapcsolok be: nincs net (csináltam a switchben egy w2 és w3 wan interface-t is.)
Az a kérdésem, hogy hogyan kell konfigolnom a két routert, hogy :
1) a Wan1-en a pppoe net menjen
2) a Wan2-n a huawei net menjen
3) a multiwan menjen.ill. ha később a pppoe megszűnik, hogyan kell beállítanom a wan-t, hogy a huawei nete menjen?
Új hozzászólás Aktív témák
- Windows 10 11 Pro Office 19 21 Pro Plus Retail kulcs 1 PC Mac AKCIÓ! Automatikus 0-24
- Bitdefender Total Security 3év/3eszköz! - Tökéletes védelem.
- Xbox / Microsoft Store feltöltőkártya kód (digitális, HU) több címlet, több db, azonnal, olcsón
- Microsoft és egyéb dobozos retro szoftverek
- The Elder Scrolls Online Imperial Collector s Edition
- HP Elitebook 850 G8 15,6" i5 1135 G7, 8-16GB RAM, SSD, jó akku, számla, 6 hó gar
- iPhone 14 Pro 128GB Space Black -1 ÉV GARANCIA - Kártyafüggetlen, MS4266
- AKCIÓ! ASRock Formula OC RX 6900 XT 16GB videokártya garanciával hibátlan működéssel
- LG 55B4 - 55" OLED - 4K 120Hz 1ms - NVIDIA G-Sync - FreeSync Premium - HDMI 2.1 - PS5 és Xbox Ready
- AKCIÓ! ASUS ROG Crosshair VIII Extreme alaplap garanciával hibátlan működéssel
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest


