Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this is the iptables output
Chain PREROUTING (policy ACCEPT 856K packets, 78M bytes)
pkts bytes target prot opt in out source destination
2834 136K DNAT tcp -- eth1 * !192.168.1.1 0.0.0.0/0 tcp dpt:80 to:192.168.1.1:3128
Chain POSTROUTING (policy ACCEPT 957K packets, 84M bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
0 0 SNAT all -- * eth1 192.168.1.0 192.168.1.1 to:192.168.1.1
and the error is
The HTTP proxy 192.168.1.1:8080 failed to connect to the server tta.aajr.com.mx:3144
The following response was returned:
HTTP/1.0 503 Service Unavailable
this is the iptables output
Chain PREROUTING (policy ACCEPT 856K packets, 78M bytes)
pkts bytes target prot opt in out source destination
2834 136K DNAT tcp -- eth1 * !192.168.1.1 0.0.0.0/0 tcp dpt:80 to:192.168.1.1:3128
Chain POSTROUTING (policy ACCEPT 957K packets, 84M bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
0 0 SNAT all -- * eth1 192.168.1.0 192.168.1.1 to:192.168.1.1
and the error is
The HTTP proxy 192.168.1.1:8080 failed to connect to the server tta.aajr.com.mx:3144
The following response was returned:
HTTP/1.0 503 Service Unavailable
Why port 8080 instead of 3128?
Also, is this the same box which Squid is running on? I ask because of the use of DNAT instead of REDIRECT.
I had forgotten about DG. What Tarantella version are you using? According to their FAQ, you need at least version 3.1 in order to use a proxy. Not sure what else to tell you, at this point I'm not even sure Squid is the problem here. I would suggest you take a step back and start troubleshooting by trying with a direct connection, then trying with a SNAT connection, then adding Squid (non-transparent), then adding Squid (transparent) then DansGuardian. As soon as you hit a step where the functionality breaks, then you know where to focus your energy. I'm sorry I can't be of any more use to you at this moment.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.