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

    RDP over Openvpn server

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 536 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.
    • S
      shetu
      last edited by

      Hi
      I install openvpn server in centos then connect pfsense openvpn client. Now I want to access lan pc from outside my network using vps ip. Here is my pfsense configuration.
      At centos openvpn server I run these command

      iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to-destination 10.8.0.19:3389
      iptables -t nat -A POSTROUTING -p tcp -d 10.8.0.19 --dport 3389 -j SNAT --to-source 1*.*.*.*4
      

      wan.jpg
      wan.jpg_thumb
      Status.jpg
      Status.jpg_thumb
      Rules.jpg
      Rules.jpg_thumb
      NAT.jpg
      NAT.jpg_thumb
      Firewall.jpg
      Firewall.jpg_thumb
      AON.jpg
      AON.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        Update pfSense to a current version first.

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