OpenWrt - Wireguard server

Hi, i installed OpenWrt on my old TP-Link TD-W8968 v4 router. I wanted to make this router a "end device", that only provides wireguard VPN server.

I tried to configure OpenWrt that way:

  • Remove default interfaces like switch.1,
  • Configuring LAN3 port like "service" port, that allows me to connect to ssh or luci interface.
  • Configuring LAN4 port like DHCP client port, after which OpenWrt will obtain a local IP address and will be provided with Internet access,

I was struggling with this since 2 weeks because in the end of all scenarios, I was unable to connect again to luci interface or ssh, beacuse it was giving me an "Unidentified network" or "IP configuration error".

I am new in openwrt community, so please be understanding and helpful.

Maybe my notes can be helpful see:

About basic setup if you only want to use it as a WireGuard server it is perfecty fine if you set this up as a real router.
So reset to defaults and only change the LAN IP address to be different from the main router in the third octet
So if the main router is 192.168.1.1 use as LAN ip address 192.168.2.1

Connect WAN from TP link to LAN from main router

If you enable remote administration but only allowing the subnet of the main router you can easily administer the TP link router frorm the WAN side

The alternative is to setup the TP link as a BridgedAP:

But the setup of the WireGuard server needs some more work but there are also instructions for that in my notes

Okay thx, I will try