August 23, 2014, 07:30:12 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Help please  (Read 1812 times)

Offline rasheedahme27

  • New Member
  • Posts: 3
Help please
« on: July 19, 2010, 02:01:58 PM »
setup proxy in between public pc's and ISP: (this proxy should handle all ports for ex: 21,22,23,80)

Two pc's (80.223.223.12 ubuntu installed (will act as a proxy) and 80.223.223.13 ubuntu installed (will act as a client) )
1) setup Gateway for 80.223.223.13 client pc to redirect traffic to proxy
2) setup proxy on 80.223.223.12 using iptables

  ::)

Offline getviswa

  • Linux Noob !
  • *
  • Posts: 10
Re: Help please
« Reply #1 on: August 31, 2010, 05:03:31 AM »
hi
1) install squid in x.x.x.13 and run the squid in port 3128
2) put the following redirection rule in proxy x.x.x.13
     iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
3) set gateway x.x.x.13 for x.x.x.12

Offline netguy2000

  • Linux Noob !
  • *
  • Posts: 4
Re: Help please
« Reply #2 on: January 21, 2011, 08:29:40 AM »
But remember your squid will not proxy 21 ftp port.

only 80 http port.