Routing to another subnet through new gateway inside the server's network
-
Hi all,
I have the following scenario:
pfsense v2.7.2 router with the following networks:
- LAN: 10.0.1.0/24
- SERVERS: 10.0.200.0/24
- WAN
I have a docker mounted on the server network that acts as a gateway to the 10.31.0.0/16 network and I would like to route all LAN and SERVER traffic so that they reach the 10.31.0.0/16 network through this docker (10.0.200.8/24) that does of gateway.
I have attached a network diagram to better understand the network diagram.
I have tried several options and I cannot route the traffic correctly through the GW. What would be the logical steps to make this scenario work?
Thanks in advance
Kind regards -
@ssppcc
You just need to add a static route for the docker subnet.So in System > Routing > Gateway add a new gateway within the server network with the IP 10.0.200.8.
Then go to the Static routes tab and and a new static route for 10.31.0.0/16 and state the gateway you've created before.