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

    real address sometimes shows

    Scheduled Pinned Locked Moved OpenVPN
    27 Posts 4 Posters 3.9k 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.
    • T
      techy82
      last edited by

      if i go onto the PIA site it shows my PIA address, if i go onto google and type in ip it shows my true ip,

      The gateway is up at the moment to

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

        Did you clear your OLD states??

        If your vpn had bounced, and your .71 client made a connection to somewhere it would be allowed to go out the wan right. What rules do you have below your policy rule that sends it out the vlan? Have to assume you allow your lan net to go out your normal wan, etc..

        So .71 makes a connection to 1.2.3.4... out the wan.. Even when your vpn comes back up - all connections to 1.2.3.4 will use the existing state and continue to go out the WAN..

        If you don't want .71 to ever use the wan even if vpn is down.. Then create a rule to block it from doing that after your vpn policy route and before your allow. Clear all your STATES!!! for the .71 box..

        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
          techy82
          last edited by

          Hi thanks!

          I have reset the states and now get this

          0_1529663851177_4.PNG

          it still shows my ip on google ipleaks etc

          pia website shows the vpn ip

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

            Well your only sending TCP out your PIA... Maybe its using UDP.. Again!!!! If you do not want this .71 box to go out your wan then BLOCK below your PIA rule. this .71 source..

            You do understand that google can use UDP right via QUIC for its web pages.. And dns is via UDP... If you want this .71 box using your PIA then your PIA rules should be ANY.. Or yeah anything other than TCP would use your normal wan.

            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
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz

              Here I fired up chrome - do you use chrome on this .71 box... And bam to google its creating quic which is over UDP

              0_1529664882994_udpconnections.png

              Change your PIA rule to ANY, kill all your existing states.. What do you see now for your IP?

              here is sniff on pfsense showing the 443 UDP connections

              05:56:39.543573 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 1350
              05:56:39.543837 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 621
              05:56:39.564956 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 1350
              05:56:39.568775 IP 216.58.192.196.443 > 192.168.9.100.63533: UDP, length 1350
              05:56:39.568992 IP 216.58.192.196.443 > 192.168.9.100.63533: UDP, length 31
              05:56:39.569728 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 41
              05:56:39.569903 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 38
              05:56:39.585723 IP 216.58.192.196.443 > 192.168.9.100.63533: UDP, length 25
              05:56:39.764571 IP 192.168.9.100.63533 > 216.58.192.196.443: UDP, length 39
              

              Happy to help you track this down - because if the ninja's get you we are all in trouble ;)

              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 1
              • T
                techy82
                last edited by

                ah great that looks to be working now, I cannot believe I missed that :-) thanks very much really appreciate your help!

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

                  No problem... So do you use chrome?

                  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
                    techy82
                    last edited by

                    I was using chrome and thought it may have been webrtc so installed the plugin and it stopped showing the ip on some sites,

                    I then tried firefox and disabled webrtc and that seemed better but its been a bit of a mixed result :-)

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

                      Are you ok with this box using wan if your vpn is down? If not I really would suggest putting a block rule for your alias below the PIA policy rule.. That way your sure that box can not go outbound unless the vpn is up.

                      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
                        techy82
                        last edited by

                        Thanks would I just use the same as this rule but change the pass to block? Thanks again!

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

                          yeah just below, use your same alias as source but destination would be any.

                          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 1
                          • T
                            TheNarc
                            last edited by

                            I may be mistaken, but I think for that block rule to work you may also need to enable the "Skip rules when gateway is down" setting in System > Advanced > Micellaneous? The description for the setting is "By default, when a rule has a gateway specified and this gateway is down, the rule is created omitting the gateway. This option overrides that behavior by omitting the entire rule instead." And you'd want the entire rule omitted in this case, so that rule processing would continue on to the next rule (the block rule). Another kill switch option is packet tagging/matching:
                            https://www.reddit.com/r/PFSENSE/comments/6edsav/how_to_proper_partial_network_vpn_with_kill_switch/

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

                              ^ agreed... thanks for pointing that out. Sometimes I forget to mention stuff that to me seems obvious ;)

                              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
                                techy82
                                last edited by

                                Thanks very much I will take a look at those!

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