This page was exported from GTUTO [ https://www.gtuto.com ] Export date:Thu Mar 28 19:33:16 2024 / +0000 GMT ___________________________________________________ Title: IPTABLES NAT --------------------------------------------------- 192.168.1.20 lan sort sur internet par le wan xxx.xxx.xxx.xxx iptables -t nat -A POSTROUTING -s 192.168.1.20/32 -o eth0 -j SNAT --to-source xxx.xxx.xxx.xxx "xxx.xxx.xxx.xxx:3333 -> 192.168.1.12:3389 iptables -t nat -A PREROUTING -d xxx.xxx.xxx.xxx/32 -i eth0 -p tcp -m tcp --dport 3333 -j DNAT --to-destination 192.168.1.12:3389 "xxx.xxx.xxx.xxx -> plage de port iptables -t nat -A PREROUTING -d xx.xxx.xxx.xxx/32 -i eth0 -p udp -m udp --dport 10000:20000 -j DNAT --to-destination 192.168.1.11:10000-20000 --------------------------------------------------- Images: --------------------------------------------------- --------------------------------------------------- Post date: 2021-06-09 14:08:16 Post date GMT: 2021-06-09 14:08:16 Post modified date: 2021-06-09 14:08:17 Post modified date GMT: 2021-06-09 14:08:17 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com