1
General Discussion / Routing problems from network to gateway
« on: June 28, 2024, 07:55:46 pm »
Hello, i need your help with this
Why cant I get this simple routing settings to work?
192.168.1.0 Network.
192.168.1.20 Gateway inside Network
When someone on network 192.168.1.0 use a software that uses 10.0.0.0 addresses I want it to be routed to the gateway 192.168.1.20
I Created a gateway inside gateway settings 192.168.1.20 which is memeber of 192.168.1.0 network
I setup static route inside OPNsense routing settings 10.0.0.0 to gateway 192.168.1.20
Since WAN_Gateway is active the traffic get routed to WAN and not to the gateway which is 192.168.1.20.
If i set the gateway 192.168.1.20 as active the route works perfectly but the internet connection drops.
the prio dosnt seem to work because it will always choose WAN_Gateway. what am i doing wrong? I followed the traffic.
Why cant I get this simple routing settings to work?
192.168.1.0 Network.
192.168.1.20 Gateway inside Network
When someone on network 192.168.1.0 use a software that uses 10.0.0.0 addresses I want it to be routed to the gateway 192.168.1.20
I Created a gateway inside gateway settings 192.168.1.20 which is memeber of 192.168.1.0 network
I setup static route inside OPNsense routing settings 10.0.0.0 to gateway 192.168.1.20
Since WAN_Gateway is active the traffic get routed to WAN and not to the gateway which is 192.168.1.20.
If i set the gateway 192.168.1.20 as active the route works perfectly but the internet connection drops.
the prio dosnt seem to work because it will always choose WAN_Gateway. what am i doing wrong? I followed the traffic.