VPN from Iran - blocked access

Yeah, a reboot of both devices wouldn’t hurt.

Another PRO-TIP: Use Incognito/Private Mode when logging into a router. The browser’s caching can cause weird problems otherwise.

2 Likes

Hi again.
I think ive found whats the issue…
I had another laptop with windows on it. Tried to conenct to the router with ethernet… It got 192.168.8.1…
and the name shows my WIFI name for it!
Looks like i have 2 IPs now. on windows ( ethernet ) and on ubuntu ( wifi ) it detects 8.1 but on Ubuntu ( ethernet ) it detects 1.1
Sorry for trouble

Reboot/power cycle everything that is using Wi-Fi or a cable. That will help ‘clear the air.’

1 Like

Sorry. I tried everythign and nothign works. except one thing… SSHing the 8.1 when connected through WIFI. on ubuntu…

Post the output of cat /etc/openwrt_release , pls.

1 Like

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r24909-65f599223d'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r24909-65f599223d'
DISTRIB_TAINTS=''
root@GL-MT6000:~#
1 Like

Congratulations; you’re running stock OpenWrt 23.05 for the Flint v2 (GL-MT6000), developer SNAPSHOT (r24909-65f599223d).

Post the output of netstat -natp , pls.

1 Like
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 192.168.8.1:53          0.0.0.0:*               LISTEN      2198/dnsmasq
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      2198/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1368/dropbear
tcp        0    196 192.168.8.1:22          192.168.8.183:48284     ESTABLISHED 2698/dropbear
tcp        0      0 ::1:53                  :::*                    LISTEN      2198/dnsmasq
tcp        0      0 fde6:9715:944e::1:53    :::*                    LISTEN      2198/dnsmasq
tcp        0      0 fe80::9683:c4ff:fea7:29ec:53 :::*                    LISTEN      2198/dnsmasq
tcp        0      0 fe80::84db:89ff:fe85:f5e6:53 :::*                    LISTEN      2198/dnsmasq
tcp        0      0 :::22                   :::*                    LISTEN      1368/dropbear
root@GL-MT6000:~#

It’s looking good. Post the output of ifconfig , pls.

br-lan    Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EC  
          inet addr:192.168.8.1  Bcast:192.168.8.255  Mask:255.255.255.0
          inet6 addr: fe80::9683:c4ff:fea7:29ec/64 Scope:Link
          inet6 addr: fde6:9715:944e::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13420 errors:0 dropped:0 overruns:0 frame:0
          TX packets:603 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2862957 (2.7 MiB)  TX bytes:96506 (94.2 KiB)

eth0      Link encap:Ethernet  HWaddr 86:DB:89:85:F5:E6  
          inet6 addr: fe80::84db:89ff:fe85:f5e6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:1849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:127739 (124.7 KiB)  TX bytes:9384 (9.1 KiB)
          Interrupt:130 

eth1      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EA  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:130 

lan1      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EB  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan2      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan5      Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:94457 (92.2 KiB)  TX bytes:7042 (6.8 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:333250 (325.4 KiB)  TX bytes:333250 (325.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 94:83:C4:A7:29:ED  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8410 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3221 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:630126 (615.3 KiB)  TX bytes:277405 (270.9 KiB)

wlan1     Link encap:Ethernet  HWaddr 94:83:C4:A7:29:EE  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2302070 (2.1 MiB)  TX bytes:316947 (309.5 KiB)

root@GL-MT6000:~#

Yup; that almost confirms it in full for me. Post the output of uname --all , pls.

1 Like
root@GL-MT6000:~# uname --all
Linux GL-MT6000 5.15.147 #0 SMP Thu Jan 25 22:45:41 2024 aarch64 GNU/Linux
root@GL-MT6000:~#
1 Like

Okay, one final check I think: let’s see if LuCI is on the system. Post the out of find / -iname "luci" . There may not be any. That’s OK.

1 Like
root@GL-MT6000:~# find / -iname "luci"
find: unrecognized: .
BusyBox v1.36.1 (2024-01-25 22:45:41 UTC) multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

	-L,-follow	Follow symlinks
	-H		...on command line only
	-xdev		Don't descend directories on other filesystems
	-maxdepth N	Descend at most N levels. -maxdepth 0 applies
			actions to command line arguments only
	-mindepth N	Don't act on first N levels
	-depth		Act on directory *after* traversing it

Actions:
	( ACTIONS )	Group actions for -o / -a
	! ACT		Invert ACT's success/failure
	ACT1 [-a] ACT2	If ACT1 fails, stop, else do ACT2
	ACT1 -o ACT2	If ACT1 succeeds, stop, else do ACT2
			Note: -a has higher priority than -o
	-name PATTERN	Match file name (w/o directory name) to PATTERN
	-iname PATTERN	Case insensitive -name
	-path PATTERN	Match path to PATTERN
	-ipath PATTERN	Case insensitive -path
	-regex PATTERN	Match path to regex PATTERN
	-type X		File type is X (one of: f,d,l,b,c,s,p)
	-perm MASK	At least one mask bit (+MASK), all bits (-MASK),
			or exactly MASK bits are set in file's mode
	-mtime DAYS	mtime is greater than (+N), less than (-N),
			or exactly N days in the past
	-mmin MINS	mtime is greater than (+N), less than (-N),
			or exactly N minutes in the past
	-newer FILE	mtime is more recent than FILE's
	-user NAME/ID	File is owned by given user
	-group NAME/ID	File is owned by given group
	-size N[bck]	File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
			+/-N: file size is bigger/smaller than N
	-prune		If current file is directory, don't descend into it
If none of the following actions is specified, -print is assumed
	-print		Print file name
	-print0		Print file name, NUL terminated
	-exec CMD ARG ;	Run CMD with all instances of {} replaced by
			file name. Fails if CMD exits with nonzero
root@GL-MT6000:~#

That’s odd but not in a bad way; let’s try ls -l /etc/config/ . I’d like to see what stock configurations are listed before we see about getting LuCI downloaded.

1 Like
root@GL-MT6000:~# ls -l /etc/config/
-rwxr-xr-x    1 root     root           343 Jan 25 06:38 TRL
-rw-r--r--    1 root     root            74 Jan 18 02:00 adguardhome
-rw-r--r--    1 root     root          1072 Oct 10 01:15 apnprofile
-rw-r--r--    1 root     root           136 Oct 10 01:15 board_special
-rw-r--r--    1 root     root            97 Jan  5 13:53 bridger
-rw-r--r--    1 root     root            68 Oct 10 01:15 custom_apn
-rw-------    1 root     root           933 Oct 10 01:15 ddns
-rw-------    1 root     root          1467 Jan 22 07:11 dhcp
-rw-------    1 root     root           134 Oct 10 01:15 dropbear
-rw-r--r--    1 root     root           140 Oct 10 01:15 edgerouter
-rw-r--r--    1 root     root          5413 Jan 25 06:49 firewall
-rw-r--r--    1 root     root           374 Oct 10 01:15 fstab
-rw-r--r--    1 root     root            46 Oct 10 01:15 fullconenat
-rw-------    1 root     root           239 Jan 25 06:37 gl-black_white_list
-rw-r--r--    1 root     root           542 Jan 15 17:46 gl-client
-rw-------    1 root     root            65 Oct 10 01:15 gl-cloud
-rw-------    1 root     root            55 Jan 22 07:08 gl-dns
-rw-------    1 root     root           342 Oct 10 01:15 gl-tertf
-rw-------    1 root     root             0 Oct 10 01:15 gl_block
-rwxr-xr-x    1 root     root           102 Oct 10 01:15 gl_ddns
-rw-r--r--    1 root     root            68 Oct 10 01:15 gl_led
-rwxr-xr-x    1 root     root            50 Oct 10 01:15 gl_logread
-rw-------    1 root     root            47 Oct 10 01:15 gl_macclone
drwxr-xr-x    2 root     root          3488 Jan  1  1970 gl_nas
-rwxr-xr-x    1 root     root            63 Oct 10 01:15 gl_s2s
-rw-r--r--    1 root     root          2082 Oct 10 01:15 gl_timer
-rw-r--r--    1 root     root           373 Jan 18 01:51 glconfig
-rwxr-xr-x    1 root     root           300 Oct 10 01:15 glipv6
-rw-r--r--    1 root     root            86 Oct 10 01:15 glmodem
-rwxr-xr-x    1 root     root          2596 Jan 25 07:00 kmwan
-rw-r--r--    1 root     root          1018 Oct 10 01:15 luci
-rw-------    1 root     root           610 Jan 15 05:08 minidlna
-rw-r--r--    1 root     root           253 Jan 15 05:08 nas
-rw-------    1 root     root          2881 Jan 25 06:49 network
-rw-r--r--    1 root     root            46 Oct 10 01:15 openssl
-rw-------    1 root     root         16714 Oct 10 01:15 openvpn
-rw-------    1 root     root           353 Jan 15 18:44 oui-httpd
-rw-r--r--    1 root     root          3023 Jan 15 03:12 ovpnclient
-rw-r--r--    1 root     root           593 Oct 10 01:15 ovpnserver
-rwxr-xr-x    1 root     root           413 Jan 22 06:48 parental_control
-rwxr-xr-x    1 root     root            85 Jan 25 06:49 plugins
-rw-r--r--    1 root     root           547 Oct 10 01:15 qos
-rw-r--r--    1 root     root           264 Oct 10 01:15 radius
-rw-------    1 root     root           107 Oct 10 01:15 repeater
-rw-------    1 root     root           167 Oct 10 01:15 rpcd
-rw-------    1 root     root            24 Oct 10 01:15 rtty
-rw-------    1 root     root           134 Jan 15 05:08 samba4
-rw-r--r--    1 root     root            63 Jan 25 06:37 sip_alg
-rw-------    1 root     root           757 Jan 22 06:56 stubby
-rw-r--r--    1 root     root            11 Oct 10 01:15 switch-button
-rw-------    1 root     root           476 Jan 15 17:43 system
-rw-r--r--    1 root     root           147 Oct 10 01:15 tailscale
-rw-r--r--    1 root     root            86 Jan 22 07:44 tor
-rw-r--r--    1 root     root            94 Oct 10 01:15 ubootenv
-rw-r--r--    1 root     root           788 Oct 10 01:15 ucitrack
-rw-------    1 root     root           117 Oct 10 01:15 upgrade
-rw-r--r--    1 root     root           243 Jan 25 06:47 vpnpolicy
-rw-------    1 root     root           189 Oct 10 01:15 wan-access
-rw-r--r--    1 root     root         12246 Jan 15 18:26 wireguard
-rwxr-xr-x    1 root     root           376 Jan 15 18:29 wireguard_server
-rw-r--r--    1 root     root          1683 Jan 15 17:22 wireless
-rw-r--r--    1 root     root            79 Oct 10 01:15 zerotier
root@GL-MT6000:~#

Oh my; so all those gl_ files tell me the Flint v2’s flash wasn’t completely overwritten when the OWRT snapshot was flashed. That may not be a problem… but let’s check: pls post the output of ps -w; uptime ; I’d like to see what processes/programs are running ATM.

1 Like
root@GL-MT6000:~# ps -w; uptime
  PID USER       VSZ STAT COMMAND
    1 root      2268 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW<  [rcu_gp]
    4 root         0 IW<  [rcu_par_gp]
    5 root         0 IW<  [slub_flushwq]
    6 root         0 IW<  [netns]
    8 root         0 IW<  [kworker/0:0H-mm]
   10 root         0 IW<  [mm_percpu_wq]
   11 root         0 SW   [rcu_tasks_trace]
   12 root         0 SW   [ksoftirqd/0]
   13 root         0 IW   [rcu_sched]
   14 root         0 SW   [migration/0]
   15 root         0 SW   [cpuhp/0]
   16 root         0 SW   [cpuhp/1]
   17 root         0 SW   [migration/1]
   18 root         0 SW   [ksoftirqd/1]
   20 root         0 IW<  [kworker/1:0H-kb]
   21 root         0 SW   [cpuhp/2]
   22 root         0 SW   [migration/2]
   23 root         0 SW   [ksoftirqd/2]
   25 root         0 IW<  [kworker/2:0H-ev]
   26 root         0 SW   [cpuhp/3]
   27 root         0 SW   [migration/3]
   28 root         0 SW   [ksoftirqd/3]
   30 root         0 IW<  [kworker/3:0H-ev]
   31 root         0 IW<  [inet_frag_wq]
   33 root         0 SW   [oom_reaper]
   34 root         0 IW<  [writeback]
   35 root         0 SW   [kcompactd0]
   45 root         0 IW<  [pencrypt_serial]
   46 root         0 IW<  [pdecrypt_serial]
   48 root         0 IW<  [cryptd]
   52 root         0 IW   [kworker/2:1-rcu]
   74 root         0 IW<  [kblockd]
   75 root         0 IW<  [blkcg_punt_bio]
   76 root         0 IW<  [ata_sff]
   77 root         0 IW   [kworker/1:2-eve]
   78 root         0 SW   [watchdogd]
  115 root         0 IW   [kworker/u8:2-ev]
  116 root         0 SW   [kswapd0]
  117 root         0 IW<  [kworker/2:1H-kb]
  120 root         0 IW<  [kthrotld]
  224 root         0 SW   [hwrng]
  225 root         0 IW   [kworker/3:2-rcu]
  255 root         0 IW<  [iscsi_eh]
  257 root         0 IW<  [iscsi_conn_clea]
  385 root         0 SW   [napi/mtk_eth-5]
  386 root         0 SW   [napi/mtk_eth-6]
  414 root         0 IW<  [mld]
  416 root         0 IW<  [ipv6_addrconf]
  417 root         0 IW<  [kworker/3:1H-kb]
  430 root         0 IW<  [dsa_ordered]
  431 root         0 IW   [kworker/3:5-eve]
  432 root         0 IW<  [kstrp]
  440 root         0 SW   [irq/82-mt7530]
  458 root         0 IW<  [mmc_complete]
  463 root         0 IW<  [kworker/0:1H-kb]
  487 root         0 SW   [irq/63-mdio-bus]
  502 root         0 SW   [irq/25-keys]
  543 root         0 IW<  [kworker/1:1H]
  624 root         0 SW   [f2fs_ckpt-7:0]
  625 root         0 SW   [f2fs_flush-7:0]
  626 root         0 SW   [f2fs_gc-7:0]
  690 ubus      1436 S    /sbin/ubusd
  691 root       908 S    /sbin/askfirst /usr/libexec/login.sh
  726 root      1064 S    /sbin/urngd
  793 root         0 SW   [irq/117-1032000]
  794 root         0 IW<  [wq_ring0]
  795 root         0 SW   [irq/118-1032000]
  796 root         0 IW<  [wq_ring1]
  797 root         0 SW   [irq/119-1032000]
  798 root         0 IW<  [wq_ring2]
  799 root         0 SW   [irq/120-1032000]
  800 root         0 IW<  [wq_ring3]
  855 root         0 IW   [kworker/1:3-pm]
  868 root         0 IW<  [cfg80211]
  877 root         0 SW   [napi/phy0-7]
  878 root         0 SW   [napi/phy0-8]
  879 root         0 SW   [napi/phy0-9]
  880 root         0 SW   [napi/phy0-10]
  881 root         0 SW   [napi/phy0-11]
  882 root         0 SW   [napi/phy0-12]
  887 root         0 SW   [mt76-tx phy0]
  948 root         0 IW   [kworker/0:3-eve]
 1166 logd      1976 S    /sbin/logd -S 64
 1368 root      1108 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3 -W 262144
 1472 root      2828 S    {hostapd} /sbin/ujail -t 5 -n hostapd -U network -G network -C /etc/capabilities/wpad.json -c -- /usr/sbi
 1473 root      2828 S    {wpa_supplicant} /sbin/ujail -t 5 -n wpa_supplicant -U network -G network -C /etc/capabilities/wpad.json 
 1475 network   4736 S    /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
 1476 network   4972 S    /usr/sbin/hostapd -s -g /var/run/hostapd/global
 1537 root      2740 S    /sbin/netifd
 1653 root      1616 S    /usr/sbin/odhcpd
 1891 root         0 SW   [irq/62-mdio-bus]
 1924 root      2828 S    {ntpd} /sbin/ujail -t 5 -n ntpd -U ntp -G ntp -C /etc/capabilities/ntpd.json -c -u -r /bin/ubus -r /usr/b
 1928 ntp       1316 S    /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.o
 2194 root      2828 S    {dnsmasq} /sbin/ujail -t 5 -n dnsmasq -u -l -r /bin/ubus -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -
 2198 dnsmasq   1556 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2667 root         0 IW   [kworker/2:0-mm_]
 2698 root      1128 R    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3 -W 262144 -2 9
 2705 root      1328 S    -ash
 2739 root         0 IW   [kworker/0:1]
 2741 root         0 IW   [kworker/u8:0-ev]
 2759 root         0 IW   [kworker/u8:1-ev]
 2774 root         0 IW   [kworker/0:0]
 2779 root      1324 R    ps -w
 03:18:37 up 40 min,  load average: 0.00, 0.00, 0.00
root@GL-MT6000:~#

Nice & clean. So those files in /etc/config/ now have no longer used GL-related configuration files in that directory. I don’t think it’s anything to worry about. It’s just cruft but shouldn’t impact anything. Because of this cruft I’m going to update the proper command to download LuCI. Standby…

1 Like

Thank you so much for your time and effort i deeply appreciate this <3