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

    How to bypass torrent blocked ports using openvpn. [SOLVED]

    Scheduled Pinned Locked Moved General pfSense Questions
    22 Posts 5 Posters 5.2k 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.
    • B
      belt9
      last edited by

      @tripplex:

      Thanks very much but do you have any screen shot or a more easier and in depth way of explaining the setup in nat/ port forwarding please.

      ::), That was a bit dramatic. You already said you're just trying to get someone else how to tell you to do your networking assignment.

      Stop being lazy, do your own work.

      This forum is not here for others to make you a picture book to pass your class, and you are asking questions in the wrong forums.
      This forum is here to help people use this product successfully.
      You are misusing the forum.

      1 Reply Last reply Reply Quote 0
      • T
        tripplex
        last edited by

        @belt9:

        @tripplex:

        Thanks very much but do you have any screen shot or a more easier and in depth way of explaining the setup in nat/ port forwarding please.

        ::), That was a bit dramatic. You already said you're just trying to get someone else how to tell you to do your networking assignment.

        Stop being lazy, do your own work.

        This forum is not here for others to make you a picture book to pass your class, and you are asking questions in the wrong forums.
        This forum is here to help people use this product successfully.
        You are misusing the forum.

        Am not here to start an argument so you continue to argue since it seems like you enjoy it. Case closed.

        1 Reply Last reply Reply Quote 0
        • ivorI
          ivor
          last edited by

          Guys, take it down a notch.

          Need help fast? Our support is available 24/7 https://www.netgate.com/support/

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            "The aim is to use of sense and route the p2p traffic through my home firewall, which is pfsense."

            Ok let me get this right… Your at school, and 443 is open outbound from the school network.  So you want to vpn into your home router running vpn, and run some p2p program from your school machine through your vpn connection to your home router..

            Is that the goal of this question/assignment?

            If so this is nothing more than creating the vpn and having it set as your default gateway on your vpn client. Bam you can run p2p all day long through this tunnel.  As long as p2p is not blocked or hindered on your home router.  Since your just like any other client behind your home router in this scenario.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • T
              tripplex
              last edited by

              Thanks for the help i am going to try this right now. There is hope just yet. :)

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Keep in mind your ratios will prob not be good because your inbound port will not be forwarded.  What port do you have your client using for p2p?  You have to make sure to forward that on your pfsense to your vpn client IP that was given.

                This sort of setup really only going to work if you setup specific IP for the vpn client.  For example when I vpn in I always get the IP.. But p2p will work just from the download aspect, you would just not be able for swarm members to ask you for pieces, so they might ban you after awhile from sending you more if they can not get anything from you, etc.  This is how p2p works.. But if well seeded you can for sure just download even without the ability for other swarm members to request pieces from you.

                So you would want to forward whatever p2p port your client is using on pfsense to this IP

                Ethernet adapter Local Area Connection 2:

                Connection-specific DNS Suffix  . : local.lan
                  Description . . . . . . . . . . . : TAP-Windows Adapter V9
                  Physical Address. . . . . . . . . : 00-FF-1F-37-23-EC
                  DHCP Enabled. . . . . . . . . . . : Yes
                  Autoconfiguration Enabled . . . . : Yes
                **  IPv4 Address. . . . . . . . . . . : 10.0.8.100(Preferred)**
                  Subnet Mask . . . . . . . . . . . : 255.255.255.0
                  Lease Obtained. . . . . . . . . . : Friday, September 22, 2017 2:05:32 PM
                  Lease Expires . . . . . . . . . . : Saturday, September 22, 2018 2:05:32 PM
                  Default Gateway . . . . . . . . . :
                  DHCP Server . . . . . . . . . . . : 10.0.8.254
                  DNS Servers . . . . . . . . . . . : 192.168.9.253
                  NetBIOS over Tcpip. . . . . . . . : Enabled

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • T
                  tripplex
                  last edited by

                  I was having some trouble using port 443 so i changed it to 53 and its working fine now. I created a nat forward rule to route traffic to the vpn client ip which 192.168.2.2 and it created the associate rule under the wan tab in firewall rules. So where should i set the ip for default gateway as you stated above? I assumed it was on the vpn client so i changed it from dynamic to static ip addressing.

                  so i have as follows on the vpn client:

                  this is of course set on the TAP adapter.

                  ip: 192.168.2.2
                  subnet: 255.255.255.0
                  gateway: 192.168.2.1
                  dns: 192.168.1.1

                  Is that what you meant by setting the gateway on the vpn client?

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    you do not do it on the interface you do it via the vpn server hand your client a specific IP.. via client override..

                    ifconfig-push 10.0.8.100 255.255.255.0

                    Then again that would only be required if going to fordward to your client - this is not a requirement to get torrents to work.. Just if you wanted to have good sharing, etc.. That is beyond the scope of your question/assignment.

                    You can grab stuff via p2p by just setting vpn traffic to be forced out the gateway in the server settings.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • T
                      tripplex
                      last edited by

                      @johnpoz:

                      You can grab stuff via p2p by just setting vpn traffic to be forced out the gateway in the server settings.

                      how can i do this? thats if its different from what i stated above.

                      vpn.png
                      vpn.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        here

                        vpnserversettings.png
                        vpnserversettings.png_thumb

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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