Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. iptables -t nat -A PREROUTING -d <openvpn-ip> -p tcp --dport 8888 -j DNAT --to-destination <camera-ip>:80
  2. iptables -t nat -A PREROUTING -d <openvpn-ip> -p tcp --dport 554 -j DNAT --to-destination <camera-ip>:554
  3.  
  4. iptables -A FORWARD -m conntrack --ctstate DNAT -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement