Web server with ADSL
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?
Thanks,
antonis.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
You'll need a /28 or better IP address range from you ISP (at least 8 IP addresses). Of the 8, the bottom and top are gone for network and broadcast addresses. You'll need one inside your ADSL router, one on the outside interface of your PPoE box, and one dedicated to your web server. And you will need the appropriate NAT entries setup in either an iptables or ipchains script on the PPoE box.
Oh - and your PPoE box or somebody will need to supply DHCP for systems in your internal network. Don't use DHCP for your web server.
- Greg Scott
-----Original Message-----
From: Antonis Lazaridis [mailto:[email protected]]
Sent: Sunday, February 24, 2002 7:58 AM
To: [email protected]
Subject: [LARTC] Web server with ADSL
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?
Thanks,
antonis.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 3 lines · Greg Scott
You'll need a /28 or better IP address range from you ISP (at least 8 IP addresses). Of the 8, the bottom and top are gone for network and broadcast addresses. You'll need
eh? While not a real on-topic question, Antonis can setup a webserver just by starting one. All he needs to do is know what hus outside IP address is and if it is stable.
You don't need a /28 for that.
Regards,
bert
Signature · 6 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 8 lines · you
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
Signature · 6 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Maybe I made some bogus assumptions:
Quoted 2 lines
I upgraded my internet connection to ADSL:
EthernetCard --> PPPoE --> ADSL modem.
So I was thinking there were three separate boxes:
1 - An ADSL router
2 - A PPPoE box doing firewall stuff
3 - a web server inside the LAN
Next time, I'll try to wake up a little more before typing.
- Greg
-----Original Message-----
From: bert hubert [mailto:[email protected]]
Sent: Sunday, February 24, 2002 9:01 AM
To: Greg Scott
Cc: 'Antonis Lazaridis'; [email protected]
Subject: Re: [LARTC] Web server with ADSL
Quoted 3 lines · Greg Scott
You'll need a /28 or better IP address range from you ISP (at least 8 IP addresses). Of the 8, the bottom and top are gone for network and broadcast addresses. You'll need
eh? While not a real on-topic question, Antonis can setup a webserver just by starting one. All he needs to do is know what hus outside IP address is and if it is stable.
You don't need a /28 for that.
Regards,
bert
Signature · 6 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/