LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-03-2005, 09:12 PM   #1
linetnew
Member
 
Registered: Apr 2005
Location: India
Posts: 32

Rep: Reputation: 15
access internet without proxy


hello,
I have one Linux machine connected to hardware router to ISP there are many internal machines that are connected via switch to that main linux machine. now i know i can access internet throgh this main linux machine but can it be possible to run that machine in text mode only always and then let internal machines access internet. how to do that?
 
Old 10-04-2005, 02:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
You just need to set up ip masquarading:

echo "1" > /proc/sys/net/ipv4/ip_forward

there's some more info here http://www.linuxquestions.org/questi...ticle&artid=23
 
Old 10-04-2005, 03:15 AM   #3
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
Here is another link to help you out: IP Masquerade HOWTO
 
Old 10-05-2005, 12:52 PM   #4
linetnew
Member
 
Registered: Apr 2005
Location: India
Posts: 32

Original Poster
Rep: Reputation: 15
Currently as i said with /etc/resolve =>
nameserver 10.0.0.1
searh localdomain

i am able to get ping www.yahoo.com result as yahoo's IP address is detected
but unable to ping it from internal machine via Squid proxy to Internet?
I even tried with giving ISP given DNS IP as nameserver but then request even
will not able to resolve yahoo's IP address. nslookup and dig gives whole
proper output. also how to use whois on my internel pcs to get all information
related to domain address?
i have enabled named service on all pcs.
 
Old 10-05-2005, 06:00 PM   #5
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
Quote:
Originally posted by linetnew
Currently as i said with /etc/resolve =>
nameserver 10.0.0.1
searh localdomain

i am able to get ping www.yahoo.com result as yahoo's IP address is detected
but unable to ping it from internal machine via Squid proxy to Internet?
I even tried with giving ISP given DNS IP as nameserver but then request even
will not able to resolve yahoo's IP address. nslookup and dig gives whole
proper output. also how to use whois on my internel pcs to get all information
related to domain address?
i have enabled named service on all pcs.
That is normal, that is how the Squid proxy works. The clients _cannot_ access the outside world directly, hence they cannot do name resolution.
 
Old 10-05-2005, 09:40 PM   #6
linetnew
Member
 
Registered: Apr 2005
Location: India
Posts: 32

Original Poster
Rep: Reputation: 15
so did that mean if i disable squid and run my proxy server again in text only mode then i can use that service of ping www.google.com with help of IP tables or is there any other way?
 
  


Reply


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
vsftp - Can access FTP within office network BUT cant access via Internet! kokfei77 Red Hat 2 03-07-2012 07:24 PM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
Secure Proxy Configuration(squid) for a LAN to access Internet pune_abhishek Linux - Networking 5 11-30-2003 01:33 PM
How to set up Linux as a proxy server for internet access? Korshun Linux - Networking 1 04-04-2002 04:17 AM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration