Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th May 2008
jrake jrake is offline
New User
Join Date: May 2008
Posts: 1
Default setting up a proxy server in OpenBSD 4.3

Good day guys...

First of all I'm not expert either in Linux or Unix but I'm curious how things done in this platform so I setup a proxy server in my newly installed OpenBSD 4.3

here is some info in my box:



edited 2 lines at squid.conf
acl our_networks src
http_access allow our_networks

NOTE: no pf enabled

edited 2 lines in sysctl.conf

If I try to change one of the client pc gateways ip address as and the DNS into "", I get an error message "The Connection has timed out" ..
In a client PC if I try to ping I received an answer but when I ping I get "REQUEST TIMED OUT".

Any idea or suggestions that can help me is very much highly appreciated..
Reply With Quote
  #2   (View Single Post)  
Old 14th May 2008
Nonesuch Nonesuch is offline
New User
Join Date: May 2008
Location: Chicago, IL
Posts: 6
Question No PF?

I strongly recommend reading more on the subject and carefully following a known-good example configuration.

I recall that you need to enable 'pf' and add RDR rules if you want to use Squid as a 'transparent' proxy.

You can use Squid as an 'explicit' proxy (by putting proxy settings in the browser, or using WPAD), with or without enabling pf and ip forwarding.

BTW, looks like a typo, the line in sysctl.conf should be "net.inet.ip.forwarding=1"
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Caching-only DNS server on OpenBSD Oko OpenBSD General 1 13th September 2009 08:30 PM
issues with setting up symon on openbsd badguy OpenBSD Security 12 22nd July 2009 02:21 AM
ftp-proxy in openbsd brody OpenBSD General 2 20th October 2008 04:18 PM
Setting up a multi-card serial server dk_netsvil General software and network 14 4th October 2008 01:00 PM
Server updates through a proxy crayoxide FreeBSD Installation and Upgrading 3 24th September 2008 10:40 PM

All times are GMT. The time now is 03:47 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick