LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2011, 09:19 AM   #1
loveulinux
Member
 
Registered: Aug 2011
Posts: 68

Rep: Reputation: Disabled
Wireless users not able to access internet through proxy


Hi..everybody.
I could successfully configured transparent proxy using this link. Everything is working fine for only those users who are using wired connection. DNS and DHCP servers also is configured in the same proxy server. Here is the server setup details
Code:
eth0=192.168.1.2/24(Internet)
gateway=192.168.1.1
eth1=192.168.0.1/24(LAN)
The forward IP is mentioned in /etc/bind/named.conf.options file as
Code:
forwarders {
	192.168.1.1;
	};
Code:
cat /etc/resolv.conf 
seach ourdomain_name.com.
nameserver 192.168.0.1
The wired clients are able to ping internal and external domains. And mailclients, FTP, and everything is working fine for wired users who are in the 192.168.0.0 range.

Now I'll come to wireless network
Code:
wireless router details
IP 192.168.0.236/24
g/w 192.168.0.1
dns 192.168.0.1
dhcp range 192.168.1.200 192.168.1.254
The wireless users who are in 192.168.1.0 network are neither able to ping 192.168.0.1 nor external domains. But if they go without proxy then the wireless router details will be same and the internet will be working fine for the wireless users. At that time the setup will be as below
Code:
Internet--->Cisco load balancer192.168.0.1(DHCP range 192.168.0.200 to 192.168.0.254)--->Wireless router with the same above IP and DHCP range.
Then I thought, may be I need to route 192.168.1.0 network and ran
Code:
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.1 dev eth1
command from the proxy server. Now all the users who comes in 192.168.1.0 network and also 192.168.0.0 network users are able to ping 192.168.0.1 and also some other internal domains but not to external domains. Then I checked from the server, now from the server also neither able to ping nor nslookup to external domains. Then I deleted the entry using
Code:
route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.1 dev eth1
command and found the internet is working fine for only 192.168.0.0 network users who are using wired connection.
So please help me in find out where I am wrong.

Last edited by loveulinux; 11-26-2011 at 09:25 AM. Reason: correction
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PPPOE server access the internet clients fail to access the internet simbini Linux - Newbie 3 08-31-2010 12:37 AM
internet access for dhcp clients djekovic.dejan Linux - Server 8 11-26-2009 08:42 AM
[SOLVED] Iptables: LAN clients cannot access internet Sum1 Linux - Security 28 09-20-2009 11:42 PM
how to access internet on linux clients By our Squid Proxy server farrukhndm Linux - Server 2 03-07-2009 06:22 AM
Clients can't access internet through server Lenard Spencer Linux - Networking 1 09-02-2006 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08: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