Redirect special URLs through an different Gateway

Started by MauriceMoss, January 05, 2023, 10:46:51 AM

Previous topic - Next topic
Hello Community,
i need help to realise the following scenario with OpnSense:

Scenario:
1. 2 DSL Connections (WAN) - with each one Router (FritzBox + Cisco)
2. Company-LAN with a special request: To use the Manufactures Intranet via Browser-URLs the traffic has to be routed
    through the Manufactures Router (Cisco); Set as Gateway.
3. The new OpnSense is behind the FritzBox. The FritzBox is just for dial-in.

Requirement:
The OpnSense should be the master of the Network. The primary Internet-Traffic should be routed over DSL 1 (FritzBox); Just Intranet-URLs
should be routed over DSL 2 (Cisco)


      WAN / Internet
            :
            : DSL1
            :
      .-----+-----.
      |  FritzBox |
      '-----+-----'
            |
        192.168.100.0/24
            |
      .-----+------.   
      |  OPNsense  |
      '-----+------'   
            |
        LAN | 10.0.0.10/24
            |
      .-----+------.   IntranetRoute   .----------.
      | LAN-Switch |+-----------------+|Cisco     |----- DSL2
      '-----+------'   10.0.0.40/24    '----------'
            |
    ...-----+------... (Clients/Servers)