OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • can't route traffic to non-default gateway - SOLVED
« previous next »
  • Print
Pages: [1]

Author Topic: can't route traffic to non-default gateway - SOLVED  (Read 2509 times)

stiggs

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
can't route traffic to non-default gateway - SOLVED
« 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? 
« Last Edit: January 03, 2018, 08:06:54 pm by stiggs »
Logged

stiggs

  • Newbie
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: can't route traffic to non-default gateway - SOLVED
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • can't route traffic to non-default gateway - SOLVED
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2