Merci Fabrice 
thank a lot Fabrice 
i've a iptables.conf file which contains the 2 lines 

-A input-internal-inline-if --protocol tcp --match tcp --dport 2048 --jump 
ACCEPT 
-A input-internal-inline-if --protocol tcp --match tcp --dport 2443 --jump 
ACCEPT 

but when i use 
iptables -L 
i can't see the lines and that doesn't works 

regards 


j'ai bien un fichier iptables.conf qui comporte les 2 lignes 

-A input-internal-inline-if --protocol tcp --match tcp --dport 2048 --jump 
ACCEPT 
-A input-internal-inline-if --protocol tcp --match tcp --dport 2443 --jump 
ACCEPT 

mais lorsque je fait 
iptables -L 

je ne les voit pas... et donc ça ne fonctionne pas, est-ce que cela veut dire 
qu'elles ne sont pas chargées ? 

bien cordialement 


Alain Defrance 
Chef de service des systèmes d'informations 
01 47 03 89 11 
[email protected] 



De: "packetfence-users" <[email protected]> 
À: "packetfence-users" <[email protected]> 
Cc: "Fabrice Durand" <[email protected]> 
Envoyé: Lundi 23 Septembre 2019 17:32:51 
Objet: Re: [PacketFence-users] authorized ports 



Hello Alain, 

you just need to edit the iptables template file under 
/usr/local/pf/conf/iptables.conf: 

-A input-management-if --protocol tcp --match tcp --dport 2048 --jump ACCEPT 

-A input-management-if --protocol tcp --match tcp --dport 2443 --jump ACCEPT 

Then restart the iptables service. 


Regards 

Fabrice 


Le 19-09-23 à 11 h 10, Alain Defrance via PacketFence-users a écrit : 



Hi, 
i need to authorized 2 ports on my packetfence, 2048 and 2443 
but i don't how.. 
with the interface and where ? 
with iptables and how ? 
thanks a lot for replies 

Alain 

Alain Defrance 
Chef de service des systèmes d'informations 
01 47 03 89 11 
[ mailto:[email protected] | [email protected] ] 



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



-- 
Fabrice Durand [ mailto:[email protected] | [email protected] ] ::  
+1.514.447.4918 (x135) :: [ http://www.inverse.ca/ | www.inverse.ca ] Inverse 
inc. :: Leaders behind SOGo ( [ http://www.sogo.nu/ | http://www.sogo.nu ] ) 
and PacketFence ( [ http://packetfence.org/ | http://packetfence.org ] ) 


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

Reply via email to