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? -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
> 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?Is the static IP address that you mention public or private? You could use Limit statements in apache or iptables firewalling to do this. Barry
On 2/15/2016 3:57 PM, Timothy Murphy wrote:> 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?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. -- john r pierce, recycling bits in santa cruz
John R Pierce wrote:>> 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?> are you also running your own DNS at home?I'm not running my own DNS server, and would prefer not to.> is this httpd server 'dual > homed' and have a NIC on both the internet side and your local LAN ?I'm not quite sure what "dual-homed" means. The machine on which httpd runs has a fixed IP address. Is there any way this machine could be accessed on the local LAN through this IP address, rather than 192.168... ?> 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.I'd rather not run a DNS server on my machine. I tried this some years ago, and ran into trouble. -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
Barry Brimer wrote:> > >> 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? > > Is the static IP address that you mention public or private?It is a public IP address.> You could use Limit statements in apache or iptables firewalling to do > this.I guess there could be a way of organizing what I want through shorewall, which I am running on my home server? -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
On Tue, Feb 16, 2016 at 7:57 AM, Timothy Murphy <gayleard at eircom.net> wrote:> 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? > >Your Wifi Lan have DNS, you may configure host name there so you can access via host name and not memorize ip> > -- > Timothy Murphy > gayleard /at/ eircom.net > School of Mathematics, Trinity College, Dublin > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- Java <http://javadevnotes.com/java-double-to-int> and Groovy <http://grails.asia/groovy-switch-statement-examples>