Good afternoon everyone. Comment that I am not one of the people who contacts the forums for anything, but I have spent more than 30 hours reading and searching for information, and I cannot understand the reason for this problem. I tell you:
I'll give you my configuration first:
I have a main router connected by cable to the wan of an openwrt repeater (TP-Link Archer C50 v4)
The openwrt data is as follows:
Interface ap:
IP: 192.168.0.2
GW: 192.168.0.3
DNS: 1.1.1.1
DHCP: Disabled since the main router gives it to me
LAN interface:
IP: 192.168.1.1
GW: No need.
DNS: No need
DHCP: Activated, since I want openwrt to give me the IPs
WGO: With my personal VPN data.
On the main router I have this configuration in the routing section so that there is a connection between the different subnets:
Name: AP
Destination: 192.168.1.0/24
GW: 192.168.0.2
Wi-Fi signals:
A Home call with ap interface. This does not go through the VPN. Excellent connection.
A so-called TV with LAN interface. This does go through the VPN. Excellent connection.
1 Case:
I have a Samsung TV, which when I connect it to the home WiFi signal, both off and on, it receives a signal, can do ping and tracerouter, and I can turn it on with the Samsung app.
2 Case (Problem):
When I connect the TV to the TV signal, when the TV is on, it works fine, I can ping and tracerouter it, and the TV is connected to the VPN, because I browse the internet perfectly, and when I search for my IP it happens perfectly for the vpn.
But, when I turn off the TV, the TV is still connected to openwrt, because I see it, I also used other programs to make sure that it is connected, and if it is connected, but when I do a ping, tracerouter or use the Samsung app it is disconnected .
How is that possible? The openwrt and other app shows that it is connected, but when I try to turn it on with the app, or do a ping, it doesn't work. Is that logical?
The configuration of the firewall, ap, lan, wg0 must all be correct, because everything works well for me, both the interfaces that the VPN passes through and those that it does not pass through. I don't have any connection problems of any kind with either the main router or the openwrt, the only problem is when I turn off the TV and it is connected to the VPN signal.
Not even chatgpt knows why, hehe. Any ideas?
Thank you so much!