Hello Daniel,
i have the following configuration:
LAN--------[ProxyOpenBSD]-------[FirewallOpenBSD]-----(internet)
Your configuration is similar to mine, on the Proxy machine i do not use nat (i dont need it), the proxy machine is my default gateway.On the Firewall i have a rule that allows pass all the traffic that comes from the proxy.
Just for giving you a clue, i will post my pf.conf from my firewall.
I guess you have to set up your cisco to allow pass just the traffic you want, and tells the bsd to let pass what comes from cisco to any distanation.
My proxy is just a router, with few rules that blocks source and destinations.
I hope this can help ...
# Macros
ext_if="xl0"
dmz_if="fxp0"
int_if="fxp0"
ext_ip="x.x.x.x"
#External NAME SERVERS
NsV="{ 200.75.51.132 , 200.75.51.133 ,200.21.200.2 }"
Lan="192.168.0.0/24"
#SSH from LAN
SshC="192.168.0.3"
#dmz
SdOd="192.168.10.252"
Proxy="10.4.1.3"
#OPtioins
#Don't Filter on the loopback interface
set block-policy drop
set skip on lo
scrub in all
scrub out on $ext_if all random-id
nat on $ext_if from !($ext_if) -> $ext_ip
block in on { rl0, fxp0, xl0 } all
block out on { rl0, fxp0, xl0 } all
pass out keep state
#pass quick on $int_if
antispoof quick for { lo $int_if $dmz_if}
# HTTP, HTTPS
pass in on $int_if proto tcp from $Proxy to any port {80,8880,443 ,1863} keep state
pass out on $ext_if proto tcp from $Proxy to any port {80,8880,443 ,1863} keep state
#dns
pass in on $int_if proto udp from $Unxs to $NsV port 53 keep state
pass out on $ext_if proto udp from $Unxs to $NsV port 53 keep state
Laptop------->Cisco1721--(gre0)---->Openbsd[doing nat]--->internet ---->
-------- Original-Nachricht --------
Datum: Tue, 26 Jun 2007 21:30:52 -0600
Von: "Daniel Melameth" <daniel@melameth.com>
An: misc@openbsd.org
Betreff: Re: nat trouble accessing web
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Greg KH | [patch 00/04] RFC: Staging tree (drivers/staging) |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Steven Rostedt | [RFC PATCH 1/3] Unified trace buffer |
git: | |
| Jon Smirl | ! [rejected] master -> master (non-fast forward) |
| Marco Costalba | [ANNOUNCE] qgit4 aka qgit ported to Windows |
| Andi Kleen | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Sverre Rabbelier | Git vs Monotone |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Damian Gerow | Oddly high load average |
| Benjamin Adams | BSD Port from OpenJDK |
| Michael Grollman | Re: 8169 Intermittent ifup Failure Issue With RTL8102E Chipset in Intel's New D945... |
| Volker Armin Hemmann | build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drive... |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
| Wenji Wu | A Linux TCP SACK Question |
| serial driver xmit problem | 44 minutes ago | Linux kernel |
| Why Windows is better than Linux | 44 minutes ago | Linux general |
| How can I see my kernel messages in vt12? | 7 hours ago | Linux kernel |
| Grub | 18 hours ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 1 day ago | Linux general |
| Netfilter kernel module | 1 day ago | Linux kernel |
| Compiling gfs2 on kernel 2.6.27 | 1 day ago | Linux kernel |
