Difference between revisions of "Iptables"
Jump to navigation
Jump to search
(Created page with "# On Debian Buster https://wiki.debian.org/iptables") |
|||
Line 2: | Line 2: | ||
https://wiki.debian.org/iptables | https://wiki.debian.org/iptables | ||
+ | |||
+ | |||
+ | ``` | ||
+ | iptables -t nat -A PREROUTING -p <tcp|udp> -d <vip> --dport <port> -j REDIRECT | ||
+ | ``` | ||
+ | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/load_balancer_administration/s1-lvs-direct-vsa |
Revision as of 03:09, 14 April 2020
On Debian Buster
https://wiki.debian.org/iptables
iptables -t nat -A PREROUTING -p <tcp|udp> -d <vip> --dport <port> -j REDIRECT