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

    Internet from Openvpn server

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 690 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.
    • K
      karimwassim
      last edited by

      hi , i'm newbie

      i have site to site openvpn server working perfectly and can access to my servers outside normal.

      i just generate for my friend leaving china the .opvn  and he can access my lan network but i want to know how to give him access internet from my network because the restriction in china

      sorry for my english

      thanks for the help

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

        So this server accessing your friend is an access server?
        If it is check "Redirect gateway" in the server settings to direct any client traffic over vpn and add an outbound NAT rule for the vpn tunnel subnet. Firwall > NAT > Outbound.
        The outbound NAT has to be set to automatic or hybrid mode.
        In the NAT rule select WAN at interface, at source enter the vpn tunnel subnet and at translation "interface address".

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