I have one gateway with ip : 192.168.0.1 and this Box is connected To internet. - this line is: 128kbps
with this line i use routes for public ip addresses 254 Ip-s.
Also another box in IP: 192.168.0.2 with Squid proxy at port 8080. also this box is connected to internet - this line is 16Mbps Skydsl Downstream and 128 Upload.
Workstations Use their ip : 192.168.0.0/24 with gateway : 192.168.0.1 , and into Firefox i use proxy : 192.168.0.2:8080..
Please can anyone help me how to redirect all http traffic from 192.168.0.1:80 to 192.168.0.2:8080
I have enable Proxy server in 192.168.0.1 and trough Transparent proxy i have connect to 192.168.0.2.
Now i Just nned a help How to redirect All traffic from 192.168.0.1:80 to 192.168.0.1:8080 and beacouse 192.168.0.1:8080 is connectet with transparent proxy of 192.168.0.2 i thin it will Work
i guess one needs an application-proxy to handle this kind of redirection.
otherwise the answer from e.g. the ftp-server comes from an unexpected ip-address to the client and will be discarded.
I agree with MAG but I think you should also try to correctly set up firewall rules in order to allow incoming established and related connections, this should be some kind of substitute for application proxy. I am not sure about this, but you can try..
I suppose at 192.168.0.2:8080 is some kind of webproxy running. What service is running at 192.168.0.2:2121? Imagine that soembody from your internal network tries to connect to FTP server X.X.X.X:21. First SYN packet comes to your Mikrotik, there you have some kind of dst-nat rule, which changes destination address of this packet to 192.168.0.2:2121 and that is all folks…You lost your original destination address.
At host: 192.168.0.2 i have Satellite Downstream of 16Mbit/s that work like this:
192.168.0.2:8080 have a proxy server
192.168.0.2:2121 is FTP proxy
192.168.0.2:1080 Socket
To use sattelite downstream i neded to write to all my hosts proxy for Firefox and IE. but sometime Some of the user change them and they are not satisfy with the speed my default gateway 192.168.0.1.
If its posible to Redirect all the trafic for ftp , www, and socket to 192.168.0.2 it will solve too many problems.
What operating system do you use in your client workstations? I think primary goal in this case is to prevent your customers to modify your workstation configuration…
I agree with tonda, you should look at putting some sort of Cyber Cafe management software on your machines. That way you would have full control over what is going on
In that case, you need something sound like system goback. Eash time your client finished use the pc, than restart it and system back to your original seting. So, the next user should be not problem to use the pc.
Is it a good ideal, better than searching all over the pc…