Navigation

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

    VPN working but client doest use wan ip

    OpenVPN
    2
    3
    106
    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.
    • N
      naksu last edited by naksu

      Hi,

      what option i forgot to do.

      I got my openvpn server working and i can connect to my openvpn server with my phone exsample. I can access to my lan too.

      Only problem is that my device use own public ip, not my openvpn server wan ip (public ip).

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @naksu last edited by

        @naksu
        Go into the server settings and check "Redirect gateway IPv4" and also ~IPv6 if needed.

        Go to Firewall > NAT > Outbound. If automatic mode is enabled switch to hybrid.
        Add a rule:
        interface: WAN
        source: OpenVPN tunnel network
        dest: any
        translation: interface address

        N 1 Reply Last reply Reply Quote 0
        • N
          naksu @viragomann last edited by

          @viragomann

          Thanks for help :)

          " Go into the server settings and check "Redirect gateway IPv4" and also ~IPv6 if needed."

          that was missing, now its working =)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post