Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2004, 12:55 AM   #1
LQ Newbie
Registered: Sep 2003
Location: The milky way galaxy
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Cant access website behind firewall

Ok.. I got a SuSe Server machine that runs my network. Its got a webserver and and a domain name attached to that. Its also got SuSefirewall2 runnin and keeping things all working and safe. Seems to do a decent job.

Now.. here is the problem. I can access the server by using its internal IP.. however, when attempting to do the domain name thing.. which i really need to have when admining my lovely 5 (1 soon to be active) phpBBs being that phpBB2 has a habit of using that blasted domain name..

When I ping the domain name.. it goes to the outside IP.. but it doesnt allow pinging and such it just says "Hey..thats the ip" and ..yea its the right IP.

(BTW..i am I dont know where I am going with this)

Any way.. what is the fix on this. I dont know iptables very well (altho..I need to start Is there one quicko fixo that I can use ..other then shutting it off completely. That seems to cause issues of its just shutting it off.. the domain works.. but certain sites dont..which is odd

Any way thanks. I can provide some more info if needed. I have been poking around with iptables attempting to figure this out.. but nothing seems to work.. and.. I dont wanna mess with the long, complicated packet filtering script SuSe Server has without knowing what I am getting myself into.hehe. Thanks again...
Old 10-15-2004, 01:04 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
On your own machine, open up the hosts file (/etc/hosts on *nix, c:\windows\system32\driver\etc\hosts in windows nt/2k/xp/2k3, c:\windows\hosts in win9x IIRC)
put in the private ip and the domain name, eg
Old 10-15-2004, 01:10 AM   #3
LQ Newbie
Registered: Sep 2003
Location: The milky way galaxy
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
Hey thanks dude. That worked great. I had heared once that that exsisted.. but I never knew where it was. Ha..its amazing how much it looks like the /etc/hosts file in i think RH linux.. I swear it looks familer. Oh well.. hehe. Again, thanks dude. And I dont think Microsoft wants it to really be changed tho.. because it was all readonly like....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't access a website cs-cam Linux - Networking 9 10-25-2005 06:26 AM
website access Pretzal Ubuntu 2 09-19-2005 09:19 AM
website access Pretzal Linux - General 1 09-18-2005 08:29 AM
access the block website by certain IP space_beyond Linux - Security 1 06-03-2005 12:33 AM
Behind Router/Firewall ?website impossible ? my-unix-dream Linux - Newbie 12 07-05-2004 07:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration