can't connect to internet via proxy

January 3, 2011 at 01:41:56
Specs: Linux-Fedora
Hi. I have a linux(fedora) which i use as a proxy. the proxy then connect to the router. the proxy also serves as my mail server (i use postfix). Problem is, since yesterday i discovered thta i cannot access the internet for any machine connected via the proxy (and any dhcp-assigned machines).

As a result, even the webmail is not accessible from any machine.

When i tried, i changed some computers so that they connect directly to the router -and they work fine for the internet. Problem is, I am still not able to access webmail.

What could be the problem with the proxy.?(NB Postfix is running and http too is running).
Kindly help
rgds


See More: cant connect to internet via proxy

Report •

#1
January 3, 2011 at 02:18:06
Can the fedora box connect to the internet right now?
What does ifconfig show on the fedory box?
What does ipconfig /all show on a client machine, when configured to use the fedora box as a proxy?
What device is acting as a dhcp server in your network?
Have you checked the log files on the fedora box?
What happens last before it began to not work properly on the fedory box?

A lot of questions, that can only be answered by you.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#2
January 3, 2011 at 03:46:14
hi paulsep,
1. am able to ping websites including yahoo from the fedora box
2. ifconfig shows the ip address of the proxy(192.168.0.253), shows eth0 up, brodacsat using mutlicast, MTU1500. RX Packets 173276, errorr0, dropped0
TX Packets 125077, errorrs 0, dropped 0.
3 ipconfig/all on a client machine when configure using feedora shows:
- ip add of the client machine :192.168.0.150
- dhcp enabled -yes
-default gateway: 192.168.0.253
-dns servers 192.168.0.253

4. What device is acting as a dhcp server in your network?
-the fedora proxy acts as dhcp as well

5. What happened last before it began to not work properly on the fedory box?
-nothing i can remember of. was working normally when we left office. detected errors when we came back the followingg day.

NB: On the network, we also have a DNS service running on windows 2003, which serves our domain.

Hope this sheds more light. Kindly assist.
Thanks in advance


Report •

#3
January 3, 2011 at 05:26:01
Ok, so configuration seem ok so far.
While we are talking about a proxy (not a gateway), what proxy software is running on the fedora box?

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

Related Solutions

#4
January 3, 2011 at 19:33:35
Hi Paulsep,
The fedora comp has no other software. it's basically configured for use as a mail server using the Postfix. Has the webmail interface where if i need to access my mail from any workstation i just log on to http://webmail.mydomain.com.

Pls note that apart from acting as a proxy, it also acts as the default gateway for any client configured to automatically detect settings. (But since the problem began, i have had to manually configure clients so that the default gateway now becomes the router. )

I shall provide any additional details if required.
Any assistance is highly appreciated

Regards


Report •

#5
January 4, 2011 at 01:15:10
So the fedora box is not acting as a web proxy, but only as a default gateway.
What did you get, when you try to ping the webmail domain from a client computer.
E.g.:
ping webmail.mydomain.com
and
ping mydomain.com

Where is the webmail domain located, at the fedora box or at the windows 2003 server?

You wrote that you can't get any internet access at the clients?
Is there a proxy configured in the internet browser configuration?
What did you get, when you try to ping e.g.
ping www.google.com

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#6
January 5, 2011 at 00:21:53
Hey all,
The issue has been solved. Turns out that the problem was with iptables firewall settings. Interestingly i do not know how they could have changed by themselves since no-one had been on the server when trouble started.

All i did after trying all tricks was to save the iptables settings and then stopped them from running. And voila!

Thanks a lot for your responses.


Report •

Ask Question