Date: Mon, 21 May 2001 10:19:32 -0700 From: "Brandt Everett" <everett@bentonrea.com> To: <freebsd-stable@FreeBSD.ORG> Subject: ESP between two FreeBSD boxes Message-ID: <002e01c0e21a$342dd5a0$632807d8@prosser.bentonrea.org> In-Reply-To: <20010521123627.A15855@mushhaven.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I am trying to setup a simple encrypted communication between two machines,
but when ever I set it up, communication stops between them. Below are my
setkey commands. I am at a loss. Can anyone help me out?
Thanks
Brandt Everett
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
phone: 1-800-398-1232 x 234
webpage: www.bentonrea.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Machine A
/usr/sbin/setkey -c << EOF
spdadd ${boxcar} ${hercules} any -P out ipsec
esp/transport/${boxcar}-${hercules}/require;
spdadd ${hercules} ${boxcar} any -P in ipsec
esp/transport/${hercules}-${boxcar}/require;
add ${boxcar} ${hercules} esp 12345 -E blowfish-cbc "somethingsecret";
add ${hercules} ${boxcar} esp 12346 -E blowfish-cbc "somethingsecret";
EOF
Machine B
/usr/sbin/setkey -c << EOF
spdadd ${hercules} ${boxcar} any -P out ipsec
esp/transport/${hercules}-${boxcar}/require;
spdadd ${boxcar} ${hercules} any -P in ipsec
esp/transport/${boxcar}-${hercules}/require;
add ${boxcar} ${hercules} esp 12345 -E blowfish-cbc "somethingsecret";
add ${hercules} ${boxcar} esp 12346 -E blowfish-cbc "somethingsecret";
EOF
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c0e21a$342dd5a0$632807d8>
