Je viens de tester avec la règle que tu viens de me donner (celle en TCP car la tourne comme ça) et rien à faire, ça bloque toujours.
Voilà ce qui est actuellement défini : serveur:/# iptables -L -v -t nat
Chain PREROUTING (policy ACCEPT 730K packets, 51M bytes)
pkts bytes target prot opt in out source destination
4 240 DNAT tcp -- any any anywhere 78.230.10.10 tcp dpt:bacula-sd to:192.168.1.3:9103
Chain POSTROUTING (policy ACCEPT 11472 packets, 1481K bytes)
pkts bytes target prot opt in out source destination
149 11809 MASQUERADE all -- any eth1 anywhere anywhere
Chain OUTPUT (policy ACCEPT 33638 packets, 3389K bytes)
pkts bytes target prot opt in out source destination
[^] # Re: NAT dans les deux sens
Posté par stephane74 . En réponse au message Bacula et iptables. Évalué à 1.
Voilà ce qui est actuellement défini :
serveur:/# iptables -L -v -t nat
Chain PREROUTING (policy ACCEPT 730K packets, 51M bytes)
pkts bytes target prot opt in out source destination
4 240 DNAT tcp -- any any anywhere 78.230.10.10 tcp dpt:bacula-sd to:192.168.1.3:9103
Chain POSTROUTING (policy ACCEPT 11472 packets, 1481K bytes)
pkts bytes target prot opt in out source destination
149 11809 MASQUERADE all -- any eth1 anywhere anywhere
Chain OUTPUT (policy ACCEPT 33638 packets, 3389K bytes)
pkts bytes target prot opt in out source destination
serveur:/# iptables -L -v
Chain INPUT (policy ACCEPT 29M packets, 13G bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 6619K packets, 3757M bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 22M packets, 21G bytes)
pkts bytes target prot opt in out source destination