and the strange part is that it says that it is working
It is VERY strange behavior. Very strange. It looks like device you are running browser on has independent Internet connection.
OK, last effort:
please, comment forwarding 'lan'->'wan' in firewall configuration:
#config forwarding
# option src lan
# option dest wan
Or remove forwading 'lan'->'wan' here, I have not used LuCI for it.
Tue Apr 11 05:00:12 2023 daemon.warn openvpn(Proton)[1609]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Apr 11 05:00:12 2023 daemon.notice openvpn(Proton)[1609]: Initialization Sequence Completed
![Screenshot 2023-04-11 054243|656x500](upload://uJK42lGxW6w7VxmpHqXwouIor1K.png)
still the same
OK, your device has another Internet connection, I have no other explanation. Connect wired device to you router, and disable all other network interfaces.
If your device is running Windows, execute in command line (Win+R):
cmd
tracert 8.8.8.8
so connect the openwrt device to pc through ethernet?
Yes, 'device' means pc, you are running browser with 'ipleak' on.
if i connect the openwrt device to pc through ethernet and turn off all other wireless networks on my pc i get
1 1 ms * 1 ms OpenWrt_pi4.lan [192.168.254.90]
2 OpenWrt_pi4.lan [192.168.254.90] reports: Destination host unreachable.
OK, it has another Internet connection, as I have written already.
so what do i do
It is very strange IP, have you configured it for lan interface of OpenWRT router?
that is the static ip i gave it
'lan' has no gateway, it is absolute nonsense. You have 'overconfigured' it, so start from scratch, commenting each step here.
so do i get rid of the gateway then
- put in static ip address
- keep default netmask
- set ipv4 gateway as router default ip
4.dont fill in ipv4 broadcast
5.go to advanced tab and set custom dns as router default ip
The setup you're wanting to achieve won't work unless OpenWRT is acting as a router for the devices you want to go through the VPN connection. Just having the OpenWRT device in your LAN won't be enough.
how do i set it up to do that. That is what i want to happen. i am trying to use it as an access point
I'd recommend resetting your router to the default state and starting fresh.
- Since your main router appears to be 192.168.254.254, there will be no conflict with this one. Just plug in the OpenWrt router using the WAN port (main router lan > OpenWrt router wan).
- Enable wifi on your OpenWrt router using a different SSID than your normal wifi
- Install OpenVPN and configure your VPN connection.
- Connect your devices to the new SSID
That should allow those devices to get onto the VPN. keep in mind that they will not be able to communicate with devices on your main router's LAN and vice versa. If this is a requirement, it will require a few extra steps for configuration (in some cases it may not actually be possible, but we'll cross that bridge when we need to).
so if i am understanding correctly i
1.factory reset openwrt router
2. reenable wifi on openwt router
3. configure br-lan as before
4.connect openwrt's 1 ethernet port to router wan
5.reinstall openvpn
?