Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux command: iptables
(view source)
Revision as of 18:15, 24 April 2016
164 bytes added
,
18:15, 24 April 2016
no edit summary
Line 28:
Line 28:
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
+
=== NATing Port redirection ===
+
iptables -t nat -A PREROUTING -p udp --destination-port 514 -j REDIRECT --to-ports 1670
+
Redirectws trafic on port 514 to port 1670
=== iptables to drop outgoing telnet connections ===
=== iptables to drop outgoing telnet connections ===
iptables -A OUTPUT -p tcp --dport telnet -j REJECT
iptables -A OUTPUT -p tcp --dport telnet -j REJECT
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version