OPNsense Forum
Archive => 19.7 Legacy Series => Topic started by: Julien on August 07, 2019, 02:07:03 pm
-
Dear all,
ive been searching for a very long time for the solution to have openvpn routing over the WAN1 instead of default WAN2.Let's start from a very basic situation.
Office has two WAN ( WAN1 and WAN2). Office has been configured as Dual WAN , and WAN2 is the default WAN interface with it Gateway.
Remote Office withonly one WAN.
So we have created site to site openvpn from office to the remote office and the tunnel is up.
Remote Office is the OPENVPN server and Office with two is the Client.
Office ip info ( Client OPENVPN)
WAN1 192.168.30.20
WAN2 192.168.1.20 ( Default Gateway for the subnet)
LAN 192.168.24.0/24
Remote Office ( Server OPENVPN )
WAN1 ISP IP
LAN 192.168.99.0./24
the tunnel is up and running only from one side. so from the server side subnet 192.168.99.0/04 i can ping and connect to 192.168.24.0/24
but from the client side 192.168.24.0/24 i cannot connect to 192.168.99.0/24.
on the Client site OpenvVPN tunnel is reconfigured to use WAN1 as it Gateway.
i beleive this a routing issue on the Client site, so i want to tell the box when i wanna go to 192.168.99.0/24 please use WAN1 instead.
on the firewall>>> outbound Rules . i've created a Manual rules on the WAN1 sending a traffic to host 192.168.99.0/24 to use WAN1 but its not working.
What am i doing wrong ?
Thank you