From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sun, 24 Feb 2002 15:25:24 +0000 Subject: Re: [LARTC] Web server with ADSL Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sunday 24 February 2002 14:58, you wrote: > Sorry, > a bit irrelevant maybe: > I upgraded my internet connection to ADSL: > EthernetCard --> PPPoE --> ADSL modem. > > My eth card has a local 169.* IP. > How can i set-up a web server? > How can somebody access my web server? I have the same setup. I forward port80 from my firewall to the web-server. The web-server has a normal 169.* address. I do this with iptables : iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -t nat -A PREROUTING -p tcp -d $EX_IP --dport 80 -j DNAT --to 192.168.1.253:80 iptables -A FORWARD -p tcp -d 192.168.1.253 --dport 80 -j ACCEPT Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/