migration_temporary_redirect
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
migration_temporary_redirect [2015/04/07 16:06] – admin | migration_temporary_redirect [2021/10/09 15:14] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ~~TOC~~ | ||
=====Temporary redirect traffic to other host===== | =====Temporary redirect traffic to other host===== | ||
I've used the steps below to temporary redirect IP traffic, during migration to another host. Tested on CentOS 6.x | I've used the steps below to temporary redirect IP traffic, during migration to another host. Tested on CentOS 6.x | ||
Line 8: | Line 7: | ||
* Allow forwarding: < | * Allow forwarding: < | ||
iptables -A FORWARD -p tcp -d 2.2.2.2 --dport 443 -j ACCEPT</ | iptables -A FORWARD -p tcp -d 2.2.2.2 --dport 443 -j ACCEPT</ | ||
- | * Masquerade outgoing | + | * Masquerade outgoing |
* Show active rules:< | * Show active rules:< | ||
* Delete rules: | * Delete rules: |
migration_temporary_redirect.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1