OpenWRT config due to my transfer to a new internet provider

Dear all,
I'm asking for a bit of guidance after 4 consecutive failures to set-up my router..
I'll try to explain the situation.

For now, I have an internet fiber box that is doing the router job and has a switch . I have quite a lot of VM and ports exposed and routed, one VM is doing the ngnix proxy. DHCP is done by the box.

but, I am changing for a cheaper provider and the box has no routing capabilities nor switch.

I have an old WRD3600 from TP-link and I've installed the latest OpenWRT 23.5 on it.
I would like to put my new box in bridge mode and that everything would be handled by openwrt, but I can't manage to have that working..

I would like that OpenWRT would be the gateway in the lan, would do the DHCP also, and I'm stuck as I don't get how to set that up through luci.

I've tried to get the knowledge through the doc, but I failed with no IP given by the openwrt, or no access to the UI..
After 3 consecutive hard reset as I was stuck outside of the box, I eventually soldered pins to have a serial access, so that part is no longer an issue.

My steps would be :

  1. set-up the dhcp server for ipv4
  2. define static lease for my actual VM and lxc, to keep my nginx proxy config that is pointing to IP
  3. route outside port to my internal VMs (that, I think I got how it works in the firewall config)

any help would be gladly appreciated !

that's the default, you don't have to do anything.

2 Likes

so If I reset the openwrt, I could just put my new box in bridge mode, connect the rj45 to the WAN port, and all the devices in the LAN ports, and that should just work ?
The WAN IP would be determined by the box in the classical 192.168.0.x range ?

what would be the openwrt IP in the LAN network ? 192.168.1.1 ?

then just open the firewall for routing rules ?

1 Like

yes

if your bridged box is serving IPs on a 192.168 subnet, you'll be double NATing, but yes.

yes

yes, unless you're double NATing, then there's a fw in front of your fw.

2 Likes

thanks.
I'll give a try and come back to close and ask for additional help if needed.
Then I'll mark that as solved.
The fiber guy comes tomorrow to put the new box.. Will see :slight_smile:

1 Like