OPNsense Forum

English Forums => General Discussion => Topic started by: stiggs on January 02, 2018, 03:17:46 am

Title: can't route traffic to non-default gateway - SOLVED
Post by: stiggs on January 02, 2018, 03:17:46 am
Hi there,

I'm trying to setup a VPN client on my router and can't get it working.  I see the traffic going out but no traffic able to route back. 

I had a rule in my firewall that routed all traffic to the VPN gateway instead of the default gateway.  I decided to just set the override to my default gateway to see what's happening and I can't get that working either, trying to determine if there is an issue with entering any value in the gateway field.

This is what works because it goes through the default gateway:

Proto   Source            Port     Destination   Port   Gateway        
IPv4 *   USVPN net         *         *                  *        *

This doesn't work even though it is pointing to the same gateway. 

Proto   Source            Port     Destination   Port   Gateway 
IPv4 *   USVPN net         *         *                  *        WAN_DHCP

There are currently no other rules because I just want to establish connectivity first before locking it down.  WAN_DHCP is my default gateway, so I would assume they should both work.

Any ideas? 
Title: Re: can't route traffic to non-default gateway - SOLVED
Post by: stiggs on January 03, 2018, 08:06:25 pm
I figured it out last night.  I had to allow traffic to my VLAN gateway IP address first. 

Proto   Source            Port     Destination   Port   Gateway         
IPv4 *   USVPN net         *    192.168.1.1    *        *
IPv4 *   USVPN net         *         *               *        VPN_WAN_DHCP