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

    URGENT HELP libvirt kvm

    Scheduled Pinned Locked Moved Virtualization
    42 Posts 4 Posters 9.1k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      so nothing pfsense log??  I find that unlikely..  So your clients can ping pfsense lan interface.. Well sniff..  does pfsense pass on the traffic?

      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
      • V
        volga629
        last edited by

        All What I see in logs is enter promisc mode for interfaces under the bridge. I tried packet  capture and all what I see see echo request to 8.8.8.8.

        See screenshot from console. I can't get to firewall just have to work through console.

        Screenshot_fedora22_2015-09-05_13:16:25.png
        Screenshot_fedora22_2015-09-05_13:16:25.png_thumb

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

          I see all kinds of issues there - what is your notice?

          See that your clock is messed up with the kernel runtime backwards.  Looks like you can not bind to your ldap server - are you trying to auth users with a proxy that could break them from going anywhere..

          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
          • V
            volga629
            last edited by

            The problem that traffic is not passing from LAN to WAN(bridge0).

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

              Yeah dude are you running a proxy with user auth?  You clearly can not talk to your ldap server..  You clearly have an issue with your clock being off.. That could cause all kinds of problems..  Because it doesn't say error sending traffic your just going to not think it has anything to do with your problem??

              why would your wan be in a bridge in the first place??  Did you upgrade kvm?  Did you upgrade pfsense?  There are all kinds of issues with pfsense 2.2 and kvm.

              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
              • V
                volga629
                last edited by

                Here are packet capture of ping from server which sit on lan interface. Send echo request and nothing.

                Screenshot_fedora22_2015-09-05_13:34:47.png
                Screenshot_fedora22_2015-09-05_13:34:47.png_thumb

                1 Reply Last reply Reply Quote 0
                • V
                  volga629
                  last edited by

                  We use ldap for remote access vpn. And this error indicate that missing entry in host file. NTP is service running. Need check why is not in sync.

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

                    Dude I see 198.50.221.177 pinging 198.50.221.190 every second and working.. That is your wan apinger I would gather..  What are you lan rules?  Did you sniff on your wan to see if those pings to 8.8.8.8 got forwarded?  Did they get a reply on your wan and just not seeing it back on your lan?

                    KVM has known issues with pfsense 2.2 - what version of kvm are you using.  Are you using any packages?  Proxy for example - why don't you fix your errors.. Why did you clock go backwards?  why can you not bind with your ldap server??  etc. etc. etc…

                    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
                    • V
                      volga629
                      last edited by

                      Yes, I added to hosts file entry for ldap and restarted ntp. To make log clear.

                      1 Reply Last reply Reply Quote 0
                      • V
                        volga629
                        last edited by

                        Yes, packet capture is on WAN(bridge0) interface.

                        Hypervisor: libvirt Fedora 22 server.

                        libvirt-daemon-kvm-1.2.18-1.fc22.x86_64

                        PFSense: 2.4 last release

                        1 Reply Last reply Reply Quote 0
                        • V
                          volga629
                          last edited by

                          Bridge on WAN because we have servers with public ip and  I want make sure IPS is will protect it.

                          1 Reply Last reply Reply Quote 0
                          • V
                            volga629
                            last edited by

                            Here correspond bridge on fedora server libvirt

                            
                            # ip a s wan_dmz
                            7: wan_dmz@NONE: <broadcast,multicast,promisc,up,lower_up>mtu 1500 qdisc noqueue state UP group default 
                                link/ether fe:54:00:4d:f0:64 brd ff:ff:ff:ff:ff:ff
                                inet6 fe80::fc5f:d0ff:fece:1501/64 scope link 
                                   valid_lft forever preferred_lft forever
                            [root@dedi132 ~]# brctl show wan_dmz
                            bridge name	bridge id		STP enabled	interfaces
                            wan_dmz		8000.fe54004df064	yes		dummy1
                            							vnet12
                            							vnet2</broadcast,multicast,promisc,up,lower_up> 
                            
                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              "I want make sure IPS is will protect it."

                              What???  So your running SNORT?  So maybe that is blocking your traffic.. When did 2.4 of pfsense come out??  2.2.4 is latest..

                              Its a VM right - why don't you just load last snapshot or deploy base install again..  And again a KVM has known issues with pfsense 2.2 and above

                              https://forum.pfsense.org/index.php?topic=88467.0

                              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
                              • V
                                volga629
                                last edited by

                                Sorry, yes you right version is 2.2.4

                                1 Reply Last reply Reply Quote 0
                                • V
                                  volga629
                                  last edited by

                                  The interesting part setup was working until last night

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    volga629
                                    last edited by

                                    Snort in not running.

                                    Screenshot_Snort_fedora22_2015-09-05_14:05:34.png
                                    Screenshot_Snort_fedora22_2015-09-05_14:05:34.png_thumb

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

                                      Well you have it enabled and not running - so like blocking everything?  Why would you have to add a host file for ldap – wasn't it working before?

                                      So that sniff showing pings going out to 8.8.8.8 was on your wan??  Then why was it showing your 10 address then as source - that for sure would never freaking work.

                                      Here is me sniffing on wan for ping of client to 8.8.8.8 see how source is my public IP..

                                      That sniff made no sense to me - if on lan why was it showing what looks like your apinger every second.. But private IP pinging 8.8.8.8

                                      You had errors in your log about NAT as well.. Not installing nat reflection..  Seems to me you got ALL kinds of problems for something what was working yesterday..  Snort not running, time off, can not resolve your ldap server, rules not loading?  traffic going out wan with private addresses..

                                      pingsniffonwan.png
                                      pingsniffonwan.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
                                      • V
                                        volga629
                                        last edited by

                                        That sniff make perfect sense that point the issue is bridge0 interface, because from pfsense him self I can ping both ends LAN and WAN. Arp ping you see as I says, because pfsesne can reach ISP provider side no problem. That indicate that some issue on BRIDGE0 interface which cause traffic do not to be forwarded from LAN to WAN. I can share my screen and you can see.
                                        Host file entry need for ldap because encryption port 636 where ldap server validate the CN. And each time I am reboot pfsesnse it override /etc/hosts and connection to ldap is failing, I could't find how to preserve this entry in host file. If IPS down and it not blocking traffic.

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

                                          How does that sniff make sense??  You can see pings from public ip to public IP working - sourced from a 10.x to public IP 8.8.8.8 not working.. As it shouldn't how exactly is 8.8.8.8 going to answer you from a 10 address?

                                          You stated you sniffed on pfsense WAN.. If that is the case it should be showing you WAN IP pinging 8.8.8.8 not some 10 address.

                                          How exactly do you think this would work??

                                          wanpings.png
                                          wanpings.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
                                          • V
                                            volga629
                                            last edited by

                                            Because it hit bridge0 interface and Outbound NAT is not applied and connection Outbound from LAN to WAN that why it show private ip. Secondly LAN subnet is directly connected to pfsense it will never show you in packet capture applied NAT rules.  If you sniff traffic on WAN interface and it will be inbound connection then you should see PUBLIC ip's.

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