Temat: relayd - dostęp do "przekaźnika" od strony "przekaźnika"
Mam problem podobny jak w temacie http://eko.one.pl/forum/viewtopic.php?id=4050 . Niestety nie mogę dostać się do routera z poprawnie działającym relayd właśnie od strony clienta, który jest bezpośrednio podłączony do tego routera, czy to przez kabel w sieci lan, czy przez równolegle do STA działający tryb AP.
Podpowiedzcie gdzie mam błąd:
/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.100'
# option netmask '255.255.255.0'
# option gateway '192.168.2.198'
# option dns '8.8.8.8'
#config interface 'wan'
# option ifname 'eth0.2'
# option proto 'dhcp'
config switch
option name 'rtl8366rb'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'rtl8366rb'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 5t'
config interface 'wwan'
option proto 'static'
option ipaddr '192.168.2.100'
option netmask '255.255.255.0'
option gateway '192.168.2.198'
option dns '8.8.8.8'
config 'interface' 'stabridge'
option 'proto' 'relay'
option 'network' 'lan wwan'
option ipaddr '192.168.2.99'
/etc/config/wireless
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'macaddr' '94:0c:6d:ac:53:2e'
option 'hwmode' '11g'
option 'htmode' 'HT20'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'DSSS_CCK-40'
option 'channel' '1'
option 'disabled' '0'
config 'wifi-iface' 'cfg2'
option 'device' 'radio0'
option 'network' 'wwan'
option 'mode' 'sta'
option 'client_bridge' '1'
option 'ssid' 'dom'
option 'encryption' 'psk'
option 'key' 'haslo'
config 'wifi-iface' 'cfg3'
option 'device' 'radio0'
option 'network' 'lan'
option 'mode' 'ap'
option 'client_bridge' '1'
option 'ssid' 'dom_gora'
option 'encryption' 'psk'
option 'key' 'haslo2'
fragment /etc/config/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 wwan'
config zone
option name 'wan'
option network 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dst 'wan'
/etc/config/dhcp
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
option ignore 1
config dhcp wan
option interface wan
option ignore 1