Cable modem and two addresses
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi: I'm using 7.2 personal. My cable provider has given me an IP public address 64.86.100.135. Internally, within the cable network, my address is 10.2.0.248. I want to be able to access my web server from the outside. How should I configure my NIC so that it will work as desired? Thank you. - -- Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8xGNMu5DxuPWE298RAv7fAJ94Ni9QxPTIclhna+vBPEBbdweR2wCeP2Pu rtRA/ugjWTCuCWpbjkULe9s= =2N8i -----END PGP SIGNATURE-----
You do not need to do anything to your NIC. Allow access to port 80
thru your firewall. (You do have a firewall don't you? If not,
disconnect your modem until you do.) Configure you Web server to
listen on all interfaces (the default with Apache).
This has some serious security issues, so a better solution is to
leave port 80 blocked at the firewall and open port 443 (HTTPS). Then
configure Apache for HTTPS, create a self-signed certificate and
install it, etc.
Jeffrey
Quoting Alfredo Cole
Hash: SHA1
Hi:
I'm using 7.2 personal. My cable provider has given me an IP public address 64.86.100.135. Internally, within the cable network, my address is 10.2.0.248. I want to be able to access my web server from the outside. How should I configure my NIC so that it will work as desired? Thank you.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Lun 22 Abr 2002 14:36, escribiste:
You do not need to do anything to your NIC. Allow access to port 80 thru your firewall. (You do have a firewall don't you? If not, disconnect your modem until you do.) Configure you Web server to listen on all interfaces (the default with Apache).
This has some serious security issues, so a better solution is to leave port 80 blocked at the firewall and open port 443 (HTTPS). Then configure Apache for HTTPS, create a self-signed certificate and install it, etc.
Jeffrey
Jeffrey: My firewall (pmfirewall) is allowing access to port 80, and I have apache running. I can connect from within the internal net, like http://localhost will display my web page. But http://64.86.100.135 will hang, until my browser gives up. I have the second NIC, the one connected to the cable modem, configured for DHCP and it gets the 10.2.0.248 address at boot time via DHCP. I thought of changing the IP address to 64.86.100.135, but then it will not access the internet. Any more suggestions? Thank you for replying. - -- Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8xH9wu5DxuPWE298RAi2EAJ0dDGuoJHmEPYwSUgRCIxjaSu8neACdHImo UvhaxElckj+CDyZ0z+ue5pk= =UZJi -----END PGP SIGNATURE-----
participants (2)
-
Alfredo Cole
-
Jeffrey Taylor