Ysurac / openmptcprouter

OpenMPTCProuter is an open source solution to aggregate multiple internet connections using Multipath TCP (MPTCP) on OpenWrt
https://www.openmptcprouter.com/
GNU General Public License v3.0
1.89k stars 272 forks source link

How can I use a WAN port as LAN? #3654

Open 3dzug opened 1 week ago

3dzug commented 1 week ago

I want to connect a NAS to my openmtcprouter. As I do not want to use eth0 (my computer is connected there) I want to use an unused wan port such eth5. My setup is: eth0 -> PC eth1 -> mtcp connection eth2 -> mtcp connection eth3 to 5 unused. I do not get a connection if I select dhcp on eth5 and set the ip on the NAS. Thanks

Ysurac commented 1 week ago

In Network->Interfaces disable mptcp on the connection and put it in LAN firewall.

3dzug commented 1 week ago

Is it a static ip then and added to the lan rule?I still don’t get a connection.Am 14.11.2024 um 10:27 schrieb Ycarus (Yannick Chabanois) @.***>: In Network->Interfaces disable mptcp on the connection and put it in LAN firewall.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ysurac commented 1 week ago

DHCP client or static IP (can also be DHCP serer in this case). If you want to use it exactly the same way as current lan, you can create a Bridge with both interface in Network->Interfaces, "Device" tab and put it in LAN firewall. It will be the only one with an IP. If you want more help, post screenshot of what you have currently in Network->Interfaces.

3dzug commented 1 week ago

1b 1c 1d This is what I have so far. I want to use eth5 similar to eth0, as you said as a bridge. I think my NAS behind will work then.

3dzug commented 1 week ago

Yeah so what I want is that eth0 and eth5 act like a bridge (or switch) with 192.168.100.1 on the server side.Similar to what would happen if I plug eth0 into a switch and distribute it there.Am 14.11.2024 um 12:56 schrieb Ycarus (Yannick Chabanois) @.***>: DHCP client or static IP (can also be DHCP serer in this case). If you want to use it exactly the same way as current lan, you can create a Bridge with both interface in Network->Interfaces, "Device" tab and put it in LAN firewall. It will be the only one with an IP. If you want more help, post screenshot of what you have currently in Network->Interfaces.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ysurac commented 1 week ago

As I said, did you try to create a bridge ?