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

    Can't get openvpn exceptions in the routing

    OpenVPN
    2
    4
    1.7k
    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.
    • C
      casoah
      last edited by

      Here's the setup:

      openwrt router(10.10.10.1) -> pfsense(192.168.1.1, vpn client) -> openwrt again(different ethernet port)
      I have the firewall rules on openwrt setup so connections go through pfsense.

      Want to get rid of the openwrt router since it's redundant, but having an issue.

      On pfsense under the openvpn settings I have this set:

      auth-user-pass /etc/openvpn-password.txt
      ca /etc/ca.crt
      comp-lzo yes
      route-nopull
      

      However, all the traffic still goes through the vpn.

      That computer, 10.10.10.212 still goes through the vpn. Any ideas?

      Here's a crude drawing if the setup doesn't make sense.

      1 Reply Last reply Reply Quote 0
      • S
        steve72
        last edited by

        What if you just use IPV4 as protocol in the rule, and do you have any floating rules?

        1 Reply Last reply Reply Quote 0
        • C
          casoah
          last edited by

          Just tried ipv4 any traffic and the same issue

          No floating rules
          If openvpn is not connected(or if I disable the openvpn rule in the lan firewall rules) I cannot get traffic to pass through pfsense. I can still access pfsense at 192.168.1.1 but I can't access the Internet anymore.
          I changed the "test" rule to include any address, but it won't pass through the normal wan interface.  Internet only works through the vpn.

          Here's the outbound rules http://i.imgur.com/9ae9JiV.png

          Thanks for the help

          1 Reply Last reply Reply Quote 0
          • C
            casoah
            last edited by

            edit: solution https://forum.pfsense.org/index.php?topic=74743.0

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.