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

    OVPN-Server in - OVPN-Client out?

    Scheduled Pinned Locked Moved OpenVPN
    19 Posts 3 Posters 1.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      What do you want?? You stated you want your vpn clients to use your vpn... Then do that! What are you not understanding?

      Policy route in your vpn interface!

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @johnpoz
        last edited by Bob.Dig

        @johnpoz said in OVPN-Server in - OVPN-Client out?:

        What are you not understanding?

        Sometimes, your reading comprehension.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          vpnpolicyroute.jpg

          What do you not get about policy routing?

          Just like any other interface!

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          Bob.DigB 1 Reply Last reply Reply Quote 1
          • Bob.DigB
            Bob.Dig LAYER 8 @johnpoz
            last edited by

            Never looked there. Had to create the outbound NAT, like you had said before and it works like a charm, thank you...

            1 Reply Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8
              last edited by Bob.Dig

              Now I have a new poblem. The email app on the phone can't connect to my local email server anymore. When I am switching the gateway in the OpenVPN tab back to WAN, it will work again, although the email-server is generally not reachable from the internet for clients. Any help would be appreciated.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                Well you wouldn't of switched it to wan for the gateway, or that shouldn't of allowed access either. If you would of switched it back to not policy routing and just gateway as * should of worked..

                Create a rule in your vpn tab that allows access to your local networks.. This is just basic policy routing..

                pinginglocal.jpg

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                Bob.DigB 1 Reply Last reply Reply Quote 1
                • Bob.DigB
                  Bob.Dig LAYER 8 @johnpoz
                  last edited by

                  @johnpoz said in OVPN-Server in - OVPN-Client out?:

                  policy routing

                  Thanks again, works!

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    @Bob-Dig said in OVPN-Server in - OVPN-Client out?:

                    works!

                    Well yeah, its simple policy routing.. Which why my confusion to your problem in the first place

                    I use policy routing for that Nord-vpn

                    When someone says they are doing something, my bad for thinking they understood what that meant and what they were doing.. So its not "reading comprehension" to why I was confused to what you wanted ;)

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    Bob.DigB 1 Reply Last reply Reply Quote 1
                    • Bob.DigB
                      Bob.Dig LAYER 8 @johnpoz
                      last edited by Bob.Dig

                      @johnpoz Sure. That rules-tab for OpenVPN is looking so different than the others. But it works like the others. I guess you don't have to assign the interface(s) and that's why it is looking different.
                      With no networking background like me it is only learning by doing, not by studying or understanding. ^^

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        @Bob-Dig said in OVPN-Server in - OVPN-Client out?:

                        only learning by doing, not by studying or understanding.

                        Ah the click random shit and hope it does what you want methodology of networking ;)

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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