LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-22-2003, 02:38 PM   #1
changwoo
LQ Newbie
 
Registered: Apr 2003
Posts: 15

Rep: Reputation: 0
Smile please help




can someone answer my question?

1) do i need to put my router ip into my resolv.conf file?

2) if I turn off the Nat on my router, I can access the webpage on my server. But when I turn Nat on I cant seem to access my webpage or my server. can someone help me! :-)

thanks,
 
Old 08-22-2003, 02:51 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
1) No your router should be your default gateway. The /etc/resolv.conf file is where you put the domain names and DNS servers to search.

2) What are you typing in the web browser to connect to your server?
 
Old 08-22-2003, 02:51 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
1) It is better i fyou use your ISPs DNS server
2) Do you mean when using the internal address od the external address when it is on?
 
Old 08-22-2003, 03:01 PM   #4
changwoo
LQ Newbie
 
Registered: Apr 2003
Posts: 15

Original Poster
Rep: Reputation: 0
I am trying to access our web page remotely
but cant because of Nat. When I turn off Nat on my router, then I can access the webpage remotely
i can access the webpage locally but not remotey
 
Old 08-22-2003, 03:17 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sorry - that kind of contradics yourself.

Can you post the ip addresses you try to conenct to when the router is in each state and when it doesn't work? If you use a domain then write it as domain.com or if it is an external ip then use 1.2.3.4 - this is just for security.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:44 AM.

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