Forward local IP to Other Local IP
-
Hi,
I want to migrate one Server in another server, They both will be on the same IP on a different port.
Earlier I have two distinct servers with different IP's
let's say A has 1.2.3.4 and B 1.2.3.5.Now (A) 1.2.3.5. will be migrated to 1.2.3.4 on port no 81 and
(B) 1.2.3.4 will be in 1.2.3.4 on port no 80Now we have lots of App and Links with us from long ago configured with IP 1.2.3.5
I want to forward local IP 1.2.3.5 to local IP 1.2.3.4:81
If any local App or Link wants to connect with 1.2.3.5 should be redirected to 1.2.3.4:81Is there any way to do this through pfsense,
:)
-
why would something that is local to 1.2.3 even talk to pfsense to talk to something else on 1.2.3..
"Now we have lots of App and Links with us from long ago configured with IP 1.2.3.5"
You configured stuff to use an IP and not a FQDN?? Yeah fail for sure..
You do understand that a machine especially a webserver for example can have more than 1 IP on the same network right.. So your new server can have 1.2.3.4 and 1.2.3.5 and serve up stuff on port 80 for either of them.. Your server could serve up http (80) on hundreds of different ips if you wanted too, etc..
What you should be doing is redoing all your stuff that have a hard coded IP in them.. This is just bad bad bad idea all the way around!!