SHARE
TWEET

Untitled

a guest Jul 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. iptables: No chain/target/match by that name.
  2.      
  3. iptables -t nat -D OUTPUT -d 192.168.1.2 -p tcp --dport http -j REDIRECT --to-port 8080
  4.      
  5. Chain INPUT (policy ACCEPT)
  6. target     prot opt source               destination        
  7.  
  8. Chain FORWARD (policy ACCEPT)
  9. target     prot opt source               destination        
  10.  
  11. Chain OUTPUT (policy ACCEPT)
  12. target     prot opt source               destination
  13.      
  14. Chain PREROUTING (policy ACCEPT)
  15. target     prot opt source               destination        
  16. REDIRECT   tcp  --  anywhere             anywhere             tcp dpt:http redir ports 8080
  17.  
  18. Chain INPUT (policy ACCEPT)
  19. target     prot opt source               destination        
  20.  
  21. Chain OUTPUT (policy ACCEPT)
  22. target     prot opt source               destination        
  23. REDIRECT   tcp  --  anywhere             192.168.1.2        tcp dpt:http redir ports 8080
  24. REDIRECT   tcp  --  anywhere             dblab-dev-01         tcp dpt:https redir ports 8443
  25. REDIRECT   tcp  --  anywhere             dblab-dev-01         tcp dpt:http redir ports 8080
  26.  
  27. Chain POSTROUTING (policy ACCEPT)
  28. target     prot opt source               destination
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top