Posts by web-sat

    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 ! -d 10.8.0.0/24 -j SNAT --to <server-addresse>

    iptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT

    iptables -I FORWARD -s 10.8.0.0/24 -j ACCEPT

    iptables -I INPUT -p udp --dport 1194 -j ACCEPT

    iptables -t nat -A PREROUTING -p tcp --dport 8013 -j DNAT --to 10.8.0.7:22

    iptables -t nat -A PREROUTING -p tcp --dport 8014 -j DNAT --to 10.8.0.7:80

    iptables -t nat -A PREROUTING -p tcp --dport 8088 -j DNAT --to 10.8.0.7:8088

    iptables -t nat -A PREROUTING -p tcp --dport 8901 -j DNAT --to 10.8.0.12:80

    iptables -t nat -A PREROUTING -p tcp --dport 8922 -j DNAT --to 10.8.0.12:22