• Source
    1. local s = "iptables -t nat -A PREROUTING -p tcp -m tcp --dport 666 -j DNAT --to-destination 192.168.19.55"
    2. ip = s:match("%-%-to%-destination (%d+%.%d+%.%d+%.%d+)")
    3. print(ip)
    4.