Re: transparent proxy howto
Skylar Thompson wrote: Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on is there anything to be done with the kernel? I've done this one but it didn't worked... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transparent proxy howto
Oliver A. Rojo wrote: Skylar Thompson wrote: Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on is there anything to be done with the kernel? I've done this one but it didn't worked... Make sure that ipnat is loaded by putting ipnat_enable=YES in /etc/rc.conf, and you should be good to go. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
Re: transparent proxy howto
Skylar Thompson wrote: Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on ok but do i need to change something on the kernel? -- Oliver A. Rojo __ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
transparent proxy howto
hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transparent proxy howto
Oliver A. Rojo wrote: hi! Im using freebsd-5.2.1-RELEASE-p14 and I just want to ask if how can I setup transparent proxying with squid using ipnat? You're going to want something like this in your ipnat configuration: rdr int0 0/0 port 80 - 192.168.0.1 port 3128 Where int0 is your internal interface name, and 192.168.0.1 is your internal interface IP address. You'll also want this in your squid.conf: http_port 8080 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on Full documentation here: http://www.squid-cache.org/Doc/FAQ/FAQ-17.html httpd_accel_uses_host_header on -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature