Advertising
- Something
- Friday, December 7th, 2007 at 1:12:18am UTC
- run the following command:-
- # iptables -t nat -A PREROUTING -d 212.241.215.114 -p tcp --dport 26 -j REDIRECT --to-ports 25 -v
- REDIRECT tcp opt -- in * out * 0.0.0.0/0 -> 212.241.215.114 tcp dpt:26 redir ports 25
- iptables: No chain/target/match by that name
- -----------------------------------------------------------
- # iptables -L
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT icmp -- anywhere anywhere
- VZ_INPUT all -- anywhere anywhere
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT icmp -- anywhere anywhere
- VZ_FORWARD all -- anywhere anywhere
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT icmp -- anywhere anywhere
- VZ_OUTPUT all -- anywhere anywhere
- Chain VZ_FORWARD (1 references)
- target prot opt source destination
- Chain VZ_INPUT (1 references)
- target prot opt source destination
- Chain VZ_OUTPUT (1 references)
- target prot opt source destination
- ---------------------------------------------------------------
- # iptables -L -n -t nat
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not 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. All illegal activities will be reported and any information will be handed over to the authorities, so be good.