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

    Help with Routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 634 Views 2 Watching
    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 Offline
      casoft
      last edited by

      Hi.

      Please need your help with the next problem. Have:

      Side A:
      Pfsense (192.168.1.0)
      OpenVPN (14.15.0.0)
      PC1 :
      (10.11.220.2) eth0:1
      (192.168.1.23) eth0

      Side B:
      Server Client OpenVPN (14.15.0.2)
      DHCP network (192.168.8.0)
      PC 2 (10.11.220.61)

      The PC1 is CentOS.

      The computers in the networks 192.168.1.0 and 192.168.8.0 working fine.

      My problem is need contact the PC2 with the PC1 but the PC2 only accept connection from the IP 10.11.220.2

      How can masquerading or routing this?

      Try with add route but dont work

      Thansk for your help

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

        @casoft said in Help with Routing:

        OpenVPN (14.15.0.0)

        Why are you using a public IP for VPN??

        @casoft said in Help with Routing:

        but the PC2 only accept connection from the IP 10.11.220.2

        Why?

        @casoft said in Help with Routing:

        How can masquerading or routing this?

        Presupposed the IP 10.11.220.2 is not already in use (if it is, forget it), assign that IP to the pfSense interface facing to PC2 as IP Alias (Firewall > virtual IPs).
        Got to Firewall > NAT > outbound. If the outbound NAT is in automatic mode set the hybrid mode and add a masquerading rule:
        Interface: LAN (or that one which is facing to PC2)
        Source: PC1 IP
        Destination: 10.11.220.61
        Translation: Interface address

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          casoft @viragomann
          last edited by casoft

          @viragomann Thanks for answer me.

          Im try but dont work, thanks for your help:
          Screen 1:
          https://screenshots.firefox.com/dqA5FeTHHMARBmVO/faurora.casoft.com.co

          alt text

          And
          alt text
          Screen 2:
          https://screenshots.firefox.com/9zLpdRScKPLQceT2/faurora.casoft.com.co

          Thanks for your cooperation

          1 Reply Last reply Reply Quote 0
          • C Offline
            casoft
            last edited by

            This is my network

            0_1541886244871_red1.jpeg

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

              The PC2 will not be connected to the OpenVPN interface! The outbound NAT rule has to be on the interface where PC2 is connected to.

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