Route packets destined to dynamic public ip locally

2012-04-10 Thread Christopher Zimmermann
Hi! I am running a http server on my dynamic public IP. The only thing that annoys me is that when clients on the http server connect to the public IP, the packets get routed through my pppoe connection and back: $ ifconfig pppoe0 pppoe0: [...] inet 217.190.91.237 -- 213.20.223.35 netmask

Re: Route packets destined to dynamic public ip locally

2012-04-10 Thread Zé Loff
Is the PPPoE connection handled by another machine, or by the server itself? Do the clients try to connect to the public IP or to your public domain name / hostname / whatever? If this is the case, maybe a proper /etc/hosts file can do the trick, but I can't guarantee it won't break something

Re: Route packets destined to dynamic public ip locally

2012-04-10 Thread Christopher Zimmermann
On Tue, 10 Apr 2012 11:22:54 +0100 ZC) Loff zel...@zeloff.org wrote: Is the PPPoE connection handled by another machine, or by the server itself? Do the clients try to connect to the public IP or to your public domain name / hostname / whatever? If this is the case, maybe a proper

Re: Route packets destined to dynamic public ip locally

2012-04-10 Thread Zé Loff
On Tue, Apr 10, 2012 at 12:44:03PM +0200, Christopher Zimmermann wrote: On Tue, 10 Apr 2012 11:22:54 +0100 ZC) Loff zel...@zeloff.org wrote: Is the PPPoE connection handled by another machine, or by the server itself? Do the clients try to connect to the public IP or to your public