Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: IPCOP 2 BOX

IPCOP 2 BOX 10 years 9 months ago #13011

  • 50cc
  • 50cc's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Hi,
I have 2 ADSL lines and 2 IPCOP 1.4.10 box in my network.
I want to redirect port 80, 21, 1863 from IPCOP1 to IPCOP2.



IPCOP1: Use this box open DHCP, service games online and redirect port 80, 21, 1863 and another port use a lot of bandwidth to IPCOP2
IPCOP2: Use this box open SQUID and service port 80, 21, 1863 and another port use a lot of bandwidth
Clients: I don't want to config gateway, dns, proxy and anything on clients

I don't know how to redirect that port ?
Please help me.
The administrator has disabled public write access.

Re: IPCOP 2 BOX 10 years 9 months ago #13013

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
I'll give a quick breakdown of what I think you're trying to do from your post:

1. You want all gaming traffic to go through IPCOP1/ISP1.
2. You want all port 80, 21 and 1863 traffic to go through IPCOP2/ISP2.
3. You want IPCOP1 to handle DHCP.

First of all turn on the DHCP service on IPCOP1 and set IPCOP1 itself as the default gateway for all DHCP clients.

Browse to the Proxy configuration page on the Web Admin GUI on IPCOP1 and enter the following in the "Upstream proxy (host:port)" field: x.x.x.x:800, where x.x.x.x is the GREEN ip of IPCOP2. Also, make sure "Transparent on GREEN" is selected.

You can achieve the same effect by adding the following line to the "/var/ipcop/proxy/acl" file and restarting Squid:
[code:1]cache_peer x.x.x.x parent 800 0 no-query default[/code:1]

You will also need to add this line to the same file:
[code:1]acl Safe_ports port 1863[/code:1] You can't do this through the GUI.

You will of course need to make sure that Squid is running on IPCOP2 and DHCP is off.
The administrator has disabled public write access.

Re: IPCOP 2 BOX 10 years 9 months ago #13020

  • 50cc
  • 50cc's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Thanks a lot DaLight, now i have one problem.
How to keep files from FTP download in proxy ?
Exam patch games online from FTP sites.
Now it keep only HTTP.

Have a modify method or add-on ?

Sorry about my english language.
The administrator has disabled public write access.

Re: IPCOP 2 BOX 10 years 9 months ago #13027

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
There is a maximum object size which is 4MB by default. You can change this on the Proxy configuration page in the Web Admin GUI under "Cache Management".
The administrator has disabled public write access.

Re: IPCOP 2 BOX 10 years 9 months ago #13100

  • 50cc
  • 50cc's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Hi DaLight, i did follow your suggestion (upstream proxy). It work only HTTP traffic but FTP traffic still through IPCOP1.

Can you tell me how to modify iptebles for redirect port 21 to IPCOP2 ?

Some cases i must redirect other port that use a lot of bandwidth to IPCOP2.

Thank you.
The administrator has disabled public write access.

Re: IPCOP 2 BOX 10 years 8 months ago #13550

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Posts: 1302
  • Karma: 1
Sorry, 50cc, I must have missed your last post. I only discovered recently that SQUID does not proxy FTP in transparent mode. In order to ensure that FTP requests from clients go through the SQUID proxy on IPCOP1 and hence get forwarded to IPCOP2, you will need to manually set up IPCOP1 as the FTP proxy on all clients that will be using FTP . Sorry, I know you were trying to avoid doing that.
The administrator has disabled public write access.
Time to create page: 0.080 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup