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

    Chiarimento DMZ

    Scheduled Pinned Locked Moved Italiano
    81 Posts 4 Posters 14.8k 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.
    • federicopF
      federicop
      last edited by

      ma io sono in vituale..... basta configurare solo una porta? cioè quella diretta al pfsense? bene domani provo perche ora sto lavorando da remoto

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        hai una scheda di rete dedicata per il pfsense virtuale?
        ti serve un cavo di rete che va verso lo switch e uno che torna indietro per il server se le vuoi passare untagged

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        federicopF 1 Reply Last reply Reply Quote 0
        • federicopF
          federicop @kiokoman
          last edited by federicop

          @kiokoman posso dedicarglela.... non è un problema.
          ma quello che mi domandavo era, se "configuro" solo la porta i pfsense e poi collego un apparto in dhcp allo swich, mi prende la configurazione della lan o della dmz? ovviamente in questo caso non lavoro in dhcp quindi con ip fisso forse non seve cofigurare altre porte, ma se lavorassi in dhcp, devo dire allo swich che quelle port dove mi collego sono della rete DMZ e non lan, giusto?

          scusa ma non sono ferrato con le vlan

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by kiokoman

            ti prende quello che tu configuri come untagged per quella porta, di default vlan1 è sempre untagged quindi l'ip della lan. quindi la porta di tuo interesse deve essere impostata per passare untagged la vlan che vuoi te 😂

            per farti un esempio riguardando questa foto

            1572990448569-schermata-2019-11-05-alle-22.41.47.png

            se vuoi che la GE1 passi il dhcp della VLAN 3 dovrà risultare:
            GE1 Trunk 1T,2T,3UP

            T = TAGGED
            U = UNTAGGED
            P= PVID

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 0
            • federicopF
              federicop
              last edited by

              quindi dovrò avere "due porte" configuarate....

              pfsense U-T-T
              server exchange T-T-U

              se io scabiassi solo il cavo nel caso sopra, lui non troverebbe piu la rete del server exchange

              1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by kiokoman

                si beh l' ho detto prima di ricordarmi che era virtuale il tuo pfsense. ti serve una scheda dedicata. presumibilmente ci sarebbe una alternativa ma senza provare.. non so se funziona ... creare una interfaccia vlan nel tuo server ... presumo, teoreticamente.. con vconfig

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                federicopF 1 Reply Last reply Reply Quote 0
                • federicopF
                  federicop @kiokoman
                  last edited by

                  @kiokoman oppure basta che confugure le porte che arrivano dalle schede virtuali come U-T-T ma faccio le prove

                  1 Reply Last reply Reply Quote 0
                  • federicopF
                    federicop
                    last edited by

                    problematica risolta @kiokoman.... avendo le macchine virtuali dovevo lavorare sullo switch virtuale non su quello fisico. quindi diopo aver creato nello switch virtuale il gruppo video e assegnato l'id 3 ha funzionato tutto.

                    ora devo provare a fare con una dmz "fisica" e configuare il mio switch reale.
                    appena ci metto mano vi do notizie

                    1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8
                      last edited by

                      ottimo, mi fai uno screenshot dello switch virtuale? così se ricapita abbiamo un riferimento

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      federicopF 1 Reply Last reply Reply Quote 0
                      • federicopF
                        federicop @kiokoman
                        last edited by

                        @kiokoman ecco lo screenshot (Spero si capisca) cmq basta che ho creato un PortGrup (exchange) e assegnato al quel PortGrupo l'id VLAN 2 il gioco è fatto.... in sostanza è come la configurazione "di uno switch fisico" solo che qua devi lavorare sulle VM anziche sulle porte.

                        ws.png

                        colgo l'occasione per un suggerimento rules
                        voglio bloccare tutto il traffico dalla Exchange DMZ alla lan (tranne la porta di comunicazione exchange)
                        vlan EXCHANGE

                        Pass
                        surce: Exchange NET
                        destination: LAN Net
                        port: 25

                        Pass
                        surce: Exchange NET
                        destination: LAN Net
                        port: 53

                        LAN Net
                        Pass
                        surce: Exchange NET
                        destination: LAN Net
                        port: 25

                        Bloc
                        surce: Exchange NET
                        destination: LAN Net
                        port: 25

                        Essendo anche DC devo aprire qualche altra porta?

                        1 Reply Last reply Reply Quote 0
                        • kiokomanK
                          kiokoman LAYER 8
                          last edited by kiokoman

                          un bel po
                          https://support.microsoft.com/it-it/help/832017/service-overview-and-network-port-requirements-for-windows

                          controlla bene le regole, secondo me ad occhio alcune sono sbagliate/inutili/doppie. ad esempio, se un client deve collegarsi alla porta 53, il server risponde sullo stato creato e gia' aperto dal client quindi la regola necessaria è solo 1, da client LAN al server exchange sulla porta 53 e non viceversa. basta che controlli gli stati sulle regole del firewall, se indica 0/0 significa che nessun traffico corrisponde e non viene mai usata.

                          LAN Net
                          Pass
                          surce: Exchange NET
                          destination: LAN Net
                          port: 25

                          questa è sicuramente sbagliata, non vedrai mai come sorgente del traffico "Exchange NET" nella rete LAN di cui non fa parte

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                          federicopF 1 Reply Last reply Reply Quote 0
                          • federicopF
                            federicop @kiokoman
                            last edited by

                            @kiokoman il link mentro lo postavi lo stavo legendo... cmq grazie ora controllo.

                            scusa l'ho scirtta male
                            LAN Net
                            Pass
                            surce: Exchange NET
                            destination: LAN Net
                            port: 25

                            quella corretta è LAN Net
                            Pass
                            surce: LAN Net
                            destination: Exchange NET
                            port: 25

                            cmq la funzione che devo avere è collegamento exchange con la LAN e blocco da Exchange Net a LAN (Tranne che per il traffico posta)

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