• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Openvpn routing to ipsec

Scheduled Pinned Locked Moved OpenVPN
3 Posts 2 Posters 2.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z
    z00te
    last edited by Jan 24, 2007, 10:33 AM

    Hi,

    I’m trying to setup openvpn to access into my existing ipsec based vpn. This is what I would like to get:

    Roadwarriors with openvpn client
                                            |
                                            V
                                    local office
                            pfsense server (xx.xxx.xxx.xxx)
                          with openvpn (192.168.201.1)
                                            |
                                            v
                                (ipsec 192.168.200.1)   
                                      / |      \          \ 
                                    /  |        \          \   
                                  /    |          \          \       
                                /      |            \          \   
                              /        |              \         
                            /        Office2          \        Office4
                          /    smoothwall(ipsec)    \        smoothwall(ipsec) 
                        /        192.168.1.1          \            192.168.20.1   
                      /                                      \       
              Office1                                      Office3
              pfsense(ipsec)                          smoothwall(ipsec)
            192.168.0.1                                192.168.2.1

    Using the tutorial (great work), I can connect to pfsense (local office) and ping all the server in the lan (192.168.200.0/24)
    and from the lan to ping the openvpn subnet (192.168.201.0/24).
    I Would like to reach also the other subnet, so I've tried to add push <"redirect-gateway def1"> option or add the routing on client configuration but it doesn't work.
    I’ve also created a static route on 192.168.0.1:
      WAN(or LAN)> 192.168.201.0/24 192.168.200.1
    but obviously I’m missing something with routing. :( 
    Can someone help me on this please?
    tnx

    1 Reply Last reply Reply Quote 0
    • H
      hoba
      last edited by Jan 24, 2007, 12:33 PM

      Change all roadwarrior tunneldefinitions to
      Local network: LAN subnet
      Remote subnet: 192.168.0.0/16

      This way the central pfSense acts as a concentrator and even the satellite offices will be able to talk to each other Not sure about the OpenVPN config for this as I don't use OpenVPN but as you can't route through IPSEC tunnels the above is needed for sure.

      1 Reply Last reply Reply Quote 0
      • Z
        z00te
        last edited by Jan 24, 2007, 11:32 PM

        Hi, tnx for the quick answer, i've just tried to set openvpn
        with the remote subnet as you say, but the problem remain.

        Still no routing… probably i'm missing some settings on the openvpn server to route traffic of the openvpn tunnel through the ipsec tunnel.
        I'll investigate a little more  (or could give a try to pptp  :-\ )

        Yes, I know that with the actual config only local office (192.168.200.0/24) can access through every other subnet, but for now is what we want. Do you think this could be a problem for the mobile user?

        tnx for your help

        PS: does anyone know if it's possible do configure openvpn client with username/password?

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received