Navigation

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

    Possible to pass source IP over tun0 to clients behind pfSense

    OpenVPN
    3
    4
    377
    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.
    • P
      pf123user last edited by

      Have a few servers and my ISP blocks all the good ports. Looking to forward source IPs from eth0 to tun0 on OpenVPN server, over vpn to machines behind pfSense firewall. OpenVPN server is Linux OS running community OpenVPN. PfSense connects as client and has a dedicated subnet for the VPN connection. Thanks in advance for any help.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Yes, you can. You have to assign the interface and get the rules set right (search around – that's been discussed and explained many many times here), but it can forward traffic across like that.

        I have a block of addresses routed to my house that way. Aside from the lower MTU and higher latency from running over a VPN, it works OK.

        1 Reply Last reply Reply Quote 0
        • P
          pf123user last edited by

          @jimp:

          Yes, you can. You have to assign the interface and get the rules set right (search around – that's been discussed and explained many many times here), but it can forward traffic across like that.

          I have a block of addresses routed to my house that way. Aside from the lower MTU and higher latency from running over a VPN, it works OK.

          Awesome thanks! I will search. Don't like doing anything I don't understand but also have been searching a bunch before I asked here. I assume I'm not the only one trying to get a static ip via cheap vps over vpn. Seems everything I find is settings for outbound only or outbound privacy only. Might sound dumb but what should I be searching for?

          Thanks again. I figured it would be fairly straightforward once I know what to point where and how to structure the rules.

          1 Reply Last reply Reply Quote 0
          • J
            jimlad last edited by

            are you trying to do this?  https://forum.pfsense.org/index.php?topic=128718.0

            But Server/Client the other way round?


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

            Products

            • Platform Overview
            • TNSR
            • pfSense Plus
            • Appliances

            Services

            • Training
            • Professional Services

            Support

            • Subscription Plans
            • Contact Support
            • Product Lifecycle
            • Documentation

            News

            • Media Coverage
            • Press
            • Events

            Resources

            • Blog
            • FAQ
            • Find a Partner
            • Resource Library
            • Security Information

            Company

            • About Us
            • Careers
            • Partners
            • Contact Us
            • Legal
            Our Mission

            We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

            Subscribe to our Newsletter

            Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

            © 2021 Rubicon Communications, LLC | Privacy Policy