top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Alternative IP addresses for linux?

0 votes
396 views

My CentOS-7 home server has a static IP address.

Is there a simple way of organizing the hpptd server so that it is accessible through this address at a remote host, but is accessed at its 192.168 address by a laptop on the WiFi LAN?

posted Feb 16, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Is the static IP address that you mention public or private?

You could use Limit statements in apache or iptables firewalling to do  this.

1 Answer

0 votes

Are you also running your own DNS at home? is this httpd server 'dual homed' and have a NIC on both the internet side and your local LAN ?

You could run split DNS, so on your LAN, mydomain.com is 192.168.x.x while on the internet, mydomain.com is the actual IP address.

answer Feb 16, 2016 by Gurminder
Similar Questions
+3 votes

Which local IP address does FTP select to connect to remote when it has multiple IP addresses ?

+2 votes

Why does LTE allocates different IP to UE for each PDN?single IP is enough to handle UE right?can anyont share the scenario why do we need different IP for each PDN?

+4 votes

An eNodeB in LTE has many interfaces like M2, X2, S1-C , S1-U . What could be the possible deployment case ? Will all interfaces use same IP address as transport or different IP addresses for each interface ?

...