Before installing Docker I had worked IPTables configurations like this
sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp --dport port -j DNAT --to-destination ip:port
iptables -t nat -A POSTROUTING -j MASQUERADE
for port forwarding using IPTables.
But after installing Docker this configurations not working any more.
I've tried to delete all IPTables rules and configure again but its not working.
Is there any one who had the same issue ? or can help me with this ?
Aucun commentaire:
Enregistrer un commentaire