diff --git a/syslog/redirectap33.sh b/syslog/redirectap33.sh new file mode 100644 index 0000000..24f78c9 --- /dev/null +++ b/syslog/redirectap33.sh @@ -0,0 +1,4 @@ +#!/bin/bash +iptables -t nat -A PREROUTING -d 10.121.38.33 -p udp --dport 515 -j DNAT --to-port 192.168.0.40:514 +iptables -t nat -A POSTROUTING -d 192.168.0.40 -p udp --dport 515 -j SNAT --to 10.121.38.32 +