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

    see local network ip address on pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    60 Posts 7 Posters 22.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.
    • GertjanG
      Gertjan @A Former User
      last edited by Gertjan

      @antonio-briguglio said in see local network ip address on pfsense:

      i connected from another network on the openvpn server but nothing always connects with the fritz box and not with pfsense

      What is "from another network" ?
      Your phone and the data carrier 3G/4G/5G ? Or some other place ?
      You're using your "Internet IP", the WAN IP of the Fritsbox" and port number 1194, right ? Then OpenVPN server of the Fritzbox will answer.

      You should another port, as said x times already above, 1195 for example - same protocol = UDP. And, again, you should NAT (PAT) this port to the WAN IP of pfSense, 192.168.1.x.
      Your OpenvPN server could be listeing on (its) port 1194 : just make sure that the NAT rule of the frits NAT from port (outside) 1195 to the 1194 (inside).

      You have to make a NAT (PAT) rule in the Fritsbox. This is not a choice. Without the NAT rule you can't access the OpenVPN of pfSense.

      Or, make your live easier on yourself : remove the Fritsbox, make pfSense your one and unique router. No need to NAT in this case.

      Example :
      Like you, I have a router in front of my pfSense.
      I have to, because the DSL carrier over the phone line is non-standard.
      This ISP router doesn't have 'bridge' (pppoe) capabilities.

      I had to add a NAT / PAT rule into this ISP router :

      d717871e-edbd-4dd4-b50d-5539aadd5e6d-image.png

      It states :
      Protocol = UDP
      Permitted outside IP addresses : everybody (all Internet IP's)
      The port on the ISP WAN IP : 1194
      The port to translate to : 1194 (my pfSense OpenVPN is set up to listen on port 1194)
      The host name of the device on this router's LAN : 'pfSense' = the only the only device on this 'LAN' = in my case 192.168.10.3
      This 192.168.10.3 is the WAN IP of my pfSense.

      Note :
      I'm not using the Wifi capabilities of the ISP router; I've shut it down. I use my own AP's on a LAN behind pfSense.
      Neither the TV functions.
      No telephones.
      The ISP is just routing pure Internet, nothing else.

      The ISP router has OPENVPN server capabilities : I don't use it. Because, why would I ? I would still be on the wrong side of my main firewall : pfSense.
      When connected to the OpenVPN serser of pfSense, I can access all the pfSense LAN devices - and all other devices on others OPTx networks.

      On pfSense, I have just one WAN firewall rule :

      d1da9774-3ea6-4260-8dd3-d1eef59f9170-image.png

      This rule is normally created for you if you have used the OpenVPN server wizard. you could also make it yourself, as it is soooooo easy.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      ? 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        OK, then you need to send all traffic over the tunnel. Check this:
        Screenshot from 2021-02-12 16-47-02.png

        And you need to set pfSense as the DNS server for clinets:
        Set 192.168.1.1 here:
        Screenshot from 2021-02-12 16-49-17.png

        Steve

        ? 4 Replies Last reply Reply Quote 0
        • ?
          A Former User @stephenw10
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @stephenw10
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @stephenw10
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @stephenw10
                last edited by

                @stephenw10 Now it recognizes the lan I have done some tests peróquello openvpn does not connect both on the squid and squidguard package where I have set other filters eg block facebook and both pfblokerng where it does not block spam geoip ...
                So the problem is squid squidguard and pfblokerng doesn't block the content that I have blocked

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Do you have Squid configured to redircet traffic on the OpenVPN interface? Or the assigned interface if you have done that.

                  The SG-1100 it not really appropriate for running Squid, Squidguard and pfBlocker without careful tuning to limit RAM usage.

                  Steve

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @stephenw10
                    last edited by

                    @stephenw10 no and I don't know how to do it if you make me screnshoot

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      You should open a new thread for that. It looks like OpenVPN is working OK and you have now moved to a Squid problem.

                      I would not recommend running Squid, Squidguard and pfBlocker on the SG-1100 though.

                      Steve

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @stephenw10
                        last edited by

                        @stephenw10 Hi I opened another post but no one in this forum answered me.
                        Can you help me make it work I need it for work thanks
                        https://forum.netgate.com/topic/160813/configure-squid-to-redirect-traffic-on-the-openvpn-interface?_=1613265742228

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @Gertjan
                          last edited by

                          @gertjan ok thank you :-)

                          1 Reply Last reply Reply Quote 0
                          • R
                            rahulmittal79 Banned
                            last edited by

                            This post is deleted!
                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rahulmittal79 Banned @rahulmittal79
                              last edited by

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