« Mikrotik : NAT IP » : différence entre les versions

De www.yakakliker.org
(Page créée avec « <syntaxhighlight lang="bash"> /ip firewall nat add chain=dstnat dst-address=10.5.8.200 dst-port=21 protocol=tcp action=dst-nat to-addresses=192.168.0.109 /ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=tcp to-address=172.18.15.243 to-port=5060 /ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=udp to-address=172.18.15.243 to-port=5060 </syntaxhighlight> === Liens === https://wiki.mikrotik.com/wiki/Manual:IP/Firewa... »)
 
Aucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 6 : Ligne 6 :
/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=tcp to-address=172.18.15.243 to-port=5060  
/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=tcp to-address=172.18.15.243 to-port=5060  
/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=udp to-address=172.18.15.243 to-port=5060  
/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=udp to-address=172.18.15.243 to-port=5060  
</syntaxhighlight><syntaxhighlight lang="bash">
/ip firewall nat
add chain=dstnat dst-address=10.5.8.200 dst-port=21 protocol=tcp action=dst-nat to-addresses=192.168.0.109
add action=dst-nat chain=dstnat dst-address=192.168.252.231/32 to-addresses=172.16.10.5
add action=src-nat chain=srcnat src-address=172.16.10.5/32 to-addresses=192.168.252.231
</syntaxhighlight>
</syntaxhighlight>


Ligne 15 : Ligne 25 :
[[Catégorie:Reseau]]
[[Catégorie:Reseau]]
[[Catégorie:NAT]]
[[Catégorie:NAT]]
‎<html>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
  kofiWidgetOverlay.draw('yakakliker', {
    'type': 'floating-chat',
    'floating-chat.donateButton.text': 'Café',
    'floating-chat.donateButton.background-color': '#00b9fe',
    'floating-chat.donateButton.text-color': '#fff'
  });
</script>
<a href="https://www.compteurdevisite.com" title="compteur web gratuit sans pub"><img src="https://counter6.optistats.ovh/private/compteurdevisite.php?c=b4epghealnwlf7wuq7gn3ygll9aywrfx" border="0" title="compteur web gratuit sans pub" alt="compteur web gratuit sans pub"></a>
‎</html>

Dernière version du 19 février 2025 à 15:04

/ip firewall nat
add chain=dstnat dst-address=10.5.8.200 dst-port=21 protocol=tcp action=dst-nat to-addresses=192.168.0.109


/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=tcp to-address=172.18.15.243 to-port=5060 
/ip firewall nat add chain=dstnat dst-port=5060 action=dst-nat protocol=udp to-address=172.18.15.243 to-port=5060
/ip firewall nat
add chain=dstnat dst-address=10.5.8.200 dst-port=21 protocol=tcp action=dst-nat to-addresses=192.168.0.109




add action=dst-nat chain=dstnat dst-address=192.168.252.231/32 to-addresses=172.16.10.5

add action=src-nat chain=srcnat src-address=172.16.10.5/32 to-addresses=192.168.252.231

Liens

https://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT


compteur web gratuit sans pub