Route OpenVPN to Juniper



  • Hi,

    My network is 192.168.0.0/24 and i have one Juniper Firewall with IP 192.168.0.16.
    In routing I created a Gateway:
      Interface LAN
      Name:  GW_Juniper_ETH
      Gateway 192.168.0.36

    In rules, I created:
      Source: LAN net
      Destination: 10.162.4.0/24
      Gateway:  GW_Juniper_ETH

    That's work fine by my LAN !

    Now I need to create some thing to redirect my OpenVPN to GW_Juniper_ETH.
    I tried create rules, routes, but doesn't work.

    Could help me???

    2.1.2-RELEASE (amd64)
    built on Thu Apr 10 05:42:18 EDT 2014
    FreeBSD 8.3-RELEASE-p15

    Tks,
    Luis



  • Hi Luis I dont understand your configuration.

    It's something like this?

    LAN (192.168.0.0 /24) <-> (IP LAN?) PFSENSE ()
                                        /
                                        > 192.168.0.16 JUNIPER <-> 10.162.4.0

    If its something like this, why you use pfsense?, only add a route at clients that 10.162.4.0 use 192.168.0.16 (its in the same network).
    Or using pfsense you could try using a static route under SYSTEM/ROUTING/ROUTES
    and add 10.162.4.0/24 via 192.1680.16/32 (juniperGW)

    if doesnt work verify your LAN RULES an check this option under "advanced/firewal -nat"

    X Static route filtering
    Bypass firewall rules for traffic on the same interface
    This option only applies if you have defined one or more static routes. If it is enabled, traffic that enters and leaves through the same interface will not be checked by the firewall. This may be desirable in some situations where multiple subnets are connected to the same interface.

    Luck


Log in to reply