a pastebin project

Something

  1. run the following command:-
  2.  
  3. # iptables -t nat -A PREROUTING -d 212.241.215.114 -p tcp --dport 26 -j REDIRECT --to-ports 25 -v
  4.  
  5. REDIRECT  tcp opt -- in * out *  0.0.0.0/0  -> 212.241.215.114  tcp dpt:26 redir ports 25
  6. iptables: No chain/target/match by that name
  7.  
  8. -----------------------------------------------------------
  9.  
  10. # iptables -L
  11. Chain INPUT (policy ACCEPT)
  12. target     prot opt source               destination
  13. ACCEPT     icmp --  anywhere             anywhere
  14. VZ_INPUT   all  --  anywhere             anywhere
  15.  
  16. Chain FORWARD (policy ACCEPT)
  17. target     prot opt source               destination
  18. ACCEPT     icmp --  anywhere             anywhere
  19. VZ_FORWARD  all  --  anywhere             anywhere
  20.  
  21. Chain OUTPUT (policy ACCEPT)
  22. target     prot opt source               destination
  23. ACCEPT     icmp --  anywhere             anywhere
  24. VZ_OUTPUT  all  --  anywhere             anywhere
  25.  
  26. Chain VZ_FORWARD (1 references)
  27. target     prot opt source               destination
  28.  
  29. Chain VZ_INPUT (1 references)
  30. target     prot opt source               destination
  31.  
  32. Chain VZ_OUTPUT (1 references)
  33. target     prot opt source               destination
  34.  
  35.  
  36. ---------------------------------------------------------------
  37.  
  38. # iptables -L -n -t nat
  39. Chain PREROUTING (policy ACCEPT)
  40. target     prot opt source               destination
  41.  
  42. Chain POSTROUTING (policy ACCEPT)
  43. target     prot opt source               destination
  44.  
  45. Chain OUTPUT (policy ACCEPT)
  46. target     prot opt source               destination

advertising

Create a Paste

Please enter your new post below (or upload a file instead):





Please note that information posted here will not expire by default. If you want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords.

worth-right
worth-right
worth-right