Temat: openvpn client - problem w konfiguracji
Witam, konfiguruję router pod openwrt jako klienta openvpn (tak aby wszystkie urządzenia lanowe + wifi były za vpn) według poradnika z tej strony: https://community.hide.me/tutorials/ope … penwrt.38/
Niestety po konfiguracji, reboocie routera, nie mam dostępu do internetu (na PC), przy próbie wejścia do interfejsu luci openvpn mam (logread -f i na stronie luci):
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: /usr/lib/lua/luci/dispatcher.lua:360: Failed to execute cbi dispatcher target for entry '/admin/services/openvpn'.
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: The called action terminated with an exception:
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: /usr/lib/lua/luci/cbi.lua:241: Unable to read UCI data: openvpn
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: stack traceback:
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: [C]: in function 'assert'
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: /usr/lib/lua/luci/dispatcher.lua:360: in function 'dispatch'
Wed Feb 17 01:04:21 2016 daemon.err uhttpd[1029]: /usr/lib/lua/luci/dispatcher.lua:135: in function </usr/lib/lua/luci/dispatcher.lua:134>Co ciekawe w diagnostyce zauważyłem że sam router ma dostęp do sieci, ale bez VPN - kompletnie go pomija:
PING dev.openwrt.org (217.115.15.26): 56 data bytes
64 bytes from 217.115.15.26: seq=0 ttl=59 time=51.354 ms
64 bytes from 217.115.15.26: seq=1 ttl=59 time=54.591 ms
64 bytes from 217.115.15.26: seq=2 ttl=59 time=51.216 ms
64 bytes from 217.115.15.26: seq=3 ttl=59 time=51.210 ms
64 bytes from 217.115.15.26: seq=4 ttl=59 time=51.106 ms
--- dev.openwrt.org ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 51.106/51.895/54.591 ms
traceroute to dev.openwrt.org (217.115.15.26), 30 hops max, 38 byte packets
1 10.2.255.254 6.326 ms
2 172.17.156.5 5.869 ms
3 172.17.28.14 16.049 ms
4 172.17.28.22 17.080 ms
5 80.249.210.64 50.852 ms
6 217.115.3.70 49.574 ms
7 217.115.15.26 49.790 ms
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: dev.openwrt.org
Address 1: 2a00:1328:e000:452::26
Address 2: 217.115.15.26 dev.openwrt.nanl.deProszę o pomoc, gdzie jest pies pogrzebany? Chodzi o ustawienie subnet (router ma adres 192.168.1.1 a PC 192.168.1.2). W interfejsach lan działa na 192.168.1.1/24, wan 31.*.*.149/21 a tun nie ma przydzielonej żadnej wartości na niczym mac/tx/rx nie mówiąc już o IPv4 którego w ogóle nie ma - tak jakby nie działał (kmod-tun jest zainstalowany). Przekopałem już wyszukiwarki ale jakoś nie mogę znaleźć rozwiązania...