Thanks. Should I add the third rule to the end of the 
/usr/local/pf/conf/iptables.conf file?or it doesn't matter which line number I 
add the rules on?
Date: Tue, 5 May 2015 14:23:57 +0200
From: [email protected]
To: [email protected]
Subject: Re: [PacketFence-users] IPTables configuration


  
    
  
  
    If I'm not wrong, you only need the 3rd rule, since the other 2 are
    handled by the default template.

    

    Nicola

    

    Il 05/05/15 13:52, Andy A ha scritto:

    
    
      
      Thanks Fabrice
        I will add it to the /usr/local/pf/conf/iptables.conf file.
        I just wanted to know if I have to add the following
          configuration in a specific location in the file? or should I
          just append it towards the end of the file?
        

        
        
          iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
          iptables -A FORWARD -i eth0 -o eth1 -m state --state
            RELATED,ESTABLISHED -j ACCEPT
          iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
        
        

        
        
          
            Date: Tue, 5 May 2015 07:47:50 -0400

            From: [email protected]

            To: [email protected]

            Subject: Re: [PacketFence-users] IPTables configuration

            

            Hi

            

            /usr/local/pf/conf/iptables.conf is the template and
            /usr/local/pf/var/conf/iptables.conf is the generate file.

            So add your rules in the template or if you just want to
            enable nat on a specific interface then use the
            interfaceSNAT parameter (cf documentation.conf)

            

            Regards

            Fabrice

            

            

            Le 2015-05-05 07:15, Andy A
              a écrit :

            
            
              
              bump!

                

                
                  From: [email protected]

                  To: [email protected]

                  Date: Thu, 30 Apr 2015 20:14:07 +0000

                  Subject: [PacketFence-users] IPTables configuration

                  

                  
                  Hi. 
                    

                      I would like to add some custom NATing
                        configuration in
                        /usr/local/pf/conf/iptables.conf.
                      I had a look, but I am not sure where in the
                        file should I add the following configuration
                      

                      
                      
                        iptables -t nat -A POSTROUTING -o eth0 -j
                          MASQUERADE
                        iptables -A FORWARD -i eth0 -o eth1 -m
                          state --state RELATED,ESTABLISHED -j ACCEPT
                        iptables -A FORWARD -i eth1 -o eth0 -j
                          ACCEPT
                      
                      

                      
                      

                      
                      Thanks
                    
                  
                  

                  
------------------------------------------------------------------------------
One

                  dashboard for servers and applications across
                  Physical-Virtual-Cloud Widest out-of-the-box
                  monitoring support with 50+ applications Performance
                  metrics, stats and reports that give you Actionable
                  Insights Deep dive visibility with transaction tracing
                  using APM Insight. 
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

                  _______________________________________________
                  PacketFence-users mailing list 
[email protected]
                  https://lists.sourceforge.net/lists/listinfo/packetfence-users
              
              

              
              

              
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
              

              
              

              _______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

            
            

            

            
------------------------------------------------------------------------------
One
            dashboard for servers and applications across
            Physical-Virtual-Cloud Widest out-of-the-box monitoring
            support with 50+ applications
            Performance metrics, stats and reports that give you
            Actionable Insights
            Deep dive visibility with transaction tracing using APM
            Insight.
            http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

            _______________________________________________
            PacketFence-users mailing list
            [email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
        
      
      

      
      

      
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
      

      
      

      _______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

    
    

    -- 

Nicola Canepa
Tel: +39-0522-399-3474
[email protected]
---
Il contenuto della presente comunicazione è riservato e destinato 
esclusivamente ai destinatari indicati. Nel caso in cui sia ricevuto da persona 
diversa dal destinatario sono proibite la diffusione, la distribuzione e la 
copia. Nel caso riceveste la presente per errore, Vi preghiamo di informarci e 
di distruggerlo e/o cancellarlo dal Vostro computer, senza utilizzare i dati 
contenuti. La presente comunicazione (comprensiva dei documenti allegati) non 
avrà valore di proposta contrattuale e/o accettazione di proposte provenienti 
dal destinatario, nè rinuncia o riconoscimento di diritti, debiti e/o crediti, 
nè sarà impegnativa, qualora non sia sottoscritto successivo accordo da chi può 
validamente obbligarci. Non deriverà alcuna responsabilità precontrattuale a 
ns. carico, se la presente non sia seguita da contratto sottoscritto dalle 
parti.

The content of the above communication is strictly confidential and reserved 
solely for the referred addressees. In the event of receipt by persons 
different from the addressee, copying, alteration and distribution are 
forbidden. If received by mistake we ask you to inform us and to destroy and/or 
delete from your computer without using the data herein contained. The present 
message (eventual annexes inclusive) shall not be considered a contractual 
proposal and/or acceptance of offer from the addressee, nor waiver recognizance 
of rights, debts  and/or credits, nor shall it be binding when not executed as 
a subsequent agreement by persons who could lawfully represent us. No 
pre-contractual liability shall apply to us when the present communication is 
not followed by any binding agreement between the parties.

  


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users                  
                  
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to