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

    Connects, but no comms between VPN and LAN2

    Scheduled Pinned Locked Moved OpenVPN
    23 Posts 3 Posters 4.3k 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.
    • C
      chrisso
      last edited by

      No access to the PFS-webgui from VPN2. Not really hitting anything when connected to VPN2. Just get the tunnel, and thats it.

      Screen shot of "ifconfig":

      Screenshot of the "traceroute", and then CTRL+C cause nothing was happening for a long long long time.:

      -Chrisso

      1 Reply Last reply Reply Quote 0
      • C
        chrisso
        last edited by

        For the record. Unless I'm thinking or looking at this incorrectly, but here is a screenshot of what I believe to be proper Rules.

        -Chrisso

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

          Well your rules should work - but rules are only ingress from outside pfsense – think of arrows pointing to pfsense from outside..

          So inbound into openvpn rule would never have a source of your lan networks.  So those 2 rules above with source of your lans don't come into play.. And then you have duplicate rules.

          Then on your lan2 interface that source of vpnnetwork does not come into play..

          So you have this

          pc ----> vpn pfsense lan ---> pc

          or

          pc ---> lan pfsense vpn ---> pc

          Only the rules were the arrows point to pfsense matter.  You don't do any outbound rules on pfsense.

          So you need vpn rules that allow vpn clients to talk to dest you want to allow.  so your any any rule allow that.

          then you lan rule inbound to lan with lan2 net as source would allow it to talk to vpn.

          So seems from your trace your sending packets to pfsense -- but what does pfsense do with it then?  Does it pass it through and the client is having an issue answering??  Do you have a HOST firewall on say 192.168.1.100 your tracing too?

          Maybe your getting there just fine but the host your trying to talk to has firewall that drops your packets?

          I would prob try and ping your lan2 box from vpn client and sniff on pfsense for that traffic on the lan2 interface - give me a minute and show you an example.

          edit:
          So see here sniffing on pfsense on my lan interface for icmp to or from my lan host 192.168.1.100, you can see the request from my vpn client IP 200.6 to my lan pc 1.100.. Then you see the replies.

          If you do not see the request, then pfsense never sent them for some reason.. If you see the request but not the reply then host either never got them or he doesn't want to reply to something outside of his local network.. Or he sent the reply to the wrong place and not pfsense, etc.

          edit2:  You might have issues getting to pfsense gui, since your only pushing routes to lan2.. You would have to hit the pfsense gui on its lan2 interface IP.. 192.168.1.X in your case.

          pingtrace.png
          pingtrace.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
          • C
            chrisso
            last edited by

            John,

            I can try the ICMP capture, but… When I do a ping request while on VPN2, it times out with no response. I have not turned on WBGui access on LAN2 as I want to aavoid any access to the PFSense box from that LAN2. The idea is to have some buddies get on and pentest the network. Ideally, I'd keep the PFSense box totally out of reach, so there's no cheating, etc.

            I'm starting to think I need to install a previous version of PFSense and start over. I'll post up when I do the ICMP capture here in a few minutes.

            Thanks,
            -Chris

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

              Well time out doesn't tell us where the packet stops..  You need to figure out if pfsense is actually sending out the ping on the lan2 network..  If it does then we need to look elsewhere to why you don't get an answer.

              If you don't see the icmp request even go out the lan2 interface of pfsense – then we need to look to pfsense or before pfsense.

              If you see answers on the sniff, then that tells us something in pfsense rules are prob blocking the return to your client.

              As to blocking access - where is the rule for that?  I do believe the webgui runs on all interfaces by default??

              yeah I listen on 80.. just http and simple sockstat shows its listening on all addreresses

              USER    COMMAND    PID  FD PROTO  LOCAL ADDRESS        FOREIGN ADDRESS
              root    lighttpd  48617 9  tcp4  *:80                  :

              So if you don't have a firewall rule to block access from a specific interface to pfsense IP on port your listening on..  You would have access.

              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
              • C
                chrisso
                last edited by

                Here's what I got when I connect to VPN2, and ping 192.168.1.100, and PFbox sniffing it with the same settings you had.

                21:44:14.539641 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 0, length 64
                21:44:15.541259 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 1, length 64
                21:44:16.542836 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 2, length 64
                21:44:17.544443 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 3, length 64
                21:44:18.546023 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 4, length 64
                21:44:19.547636 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 5, length 64
                21:44:20.548851 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 6, length 64
                21:44:21.550831 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 7, length 64
                21:44:22.552424 IP 10.1.0.6 > 192.168.1.100: ICMP echo request, id 62491, seq 8, length 64
                

                1 Reply Last reply Reply Quote 0
                • C
                  chrisso
                  last edited by

                  Boy this is driving me nuts… I've wiped and reinstalled the PF box with 2.0 R3, as well as 2.0.3, and of course the latest 2.1, and set everything up from scratch, and it still wont work. SO I am missing something.

                  I'm just going to rest on it for a while, and hopefully something will click when I'm in the shower or something.

                  I'm reloading the backup from before I wiped everything, but I'm not against starting from scratch again if someone suggests it.

                  Still open for anything.

                  Thanks,
                  -Chrisso

                  PS. I'm starting to see something screwy with VMWare ESXI.... I didnt see it yesterday when I was testing pings etc., but I'm seeing it now. Soo... I need to fix that part first, as we arent seeing anything wrong with my setup here. I'll keep this posted when able.

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

                    So you see the ping request leave the lan2 interface of pfsense - but not get a response.. So how is pfsense at fault for your timeout?  Pfsense never got a reply, so how could it send it down the vpn tunnel to you.

                    Your issue is elsewhere.

                    For one a host firewall that your trying to ping blocking the traffic.  So your host never responds.

                    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
                    • C
                      chrisso
                      last edited by

                      Basically after the wipe and reinstalls, I changed my focus elsewhere. I tested this all before I even considered PFSense as a problem. But later last night, I found problems with the networking side of my ESXI box, and the hosted machines on it.

                      Where a premade VM (DeIce 1.100) is supposed to be on address 192.168.1.100, it in fact was not. It was a few days ago, but as of last night, it was actually pulling .1.20. When I found that out (through DHCP leases) and tried to ping it, I still couldnt, however I could ping other VMs on that 192.168.1.0/24 network (which I couldnt before).

                      So long story short, I have a problem on my ESXI host within networking.

                      I am very sorry, and I feel like a complete jackass….. Honestly, this was tested before hand when everything was working right. Somewhere in that tiny bit of time, I broke something on the ESXI box, and expected it to come back like normal. But it did not, and I did not know that.

                      John, thank you very much for your time, and I truly am sorry for wasting so much of it as I did, however I did learn some additional things while troubleshooting all of this.

                      Regards,
                      -Chrisso

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

                        troubleshooting a problem is never a waste of time, even if we spent time looking to what the problem was not.. Once we ruled those out as not the problem you get to what the goal was - find the source of the problem.

                        And you get the added bonus which is always good!
                        "I did learn some additional things while troubleshooting all of this. "

                        Let us know how it works out - and I run esxi 5.5 and my pfsense is VM..  With multiple segments on my esxi, etc.  So if you need any help in that area even though its not pfsense directly let me know - glad to help.

                        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.