[LARTC] Web server with ADSL

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-serv=
er. =20
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=20
192.168.1.253:80
iptables -A FORWARD -p tcp -d 192.168.1.253 --dport 80 -j ACCEPT

Stef

--=20

stef.coene@docum.org
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux