Hello,

First, sorry for posting here but the OpenVPN forum is full of spam/porn.

I would like to use OpenVPN to secure a wireless connection when I am on the
road and using an non-encrypted link.

Here's the setup. The server has a fixed IP address and runs on OpenBSD 4.1.
The client is a Windows XP SP2 Home. Thus, I want to reroute all the traffic
from the laptop through the VPN network.

The problem that I have is that I see this in the log:
Thu Oct 11 11:00:52 2007 qlabobsd.caltech.edu/131.215.9.207:2208 MULTI: bad
source address from client [131.215.9.207], packed dropped

I believe the problem comes from the fact that my windows machine sends a
return address as 131.215.9.207 instead of the (good) 10.8.0.6. How do I fix
that?

Also, does OpenVPN do the NAT by itself or do I need to set it myself? If I
need to set it myself, any pointer? (I'm using OpenBSD).

I've tried to google the problem quite a bit, bit I could not find anything
relevant. I have been using this site:
http://blog.innerewut.de/2005/07/04/openvpn-2-0-on-openbsd

Which describes what I want to do, except that they have OpenBSD on the
laptop. I also use the following site to troubleshoot, without much avail:
http://openvpn.net/howto.html

For your information, here's the config files:
--client--
client
dev tun0
dev-node OpenVPN
proto udp
remote qlabobsd.dyndns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client_antoine.crt
key client_antoine.key
ns-cert-type server
comp-lzo
verb 3

--server--
port 1194
proto udp
dev tun0
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
push "dhcp-option WINS 10.8.0.1"
keepalive 10 120
comp-lzo
max-clients 3
user _openvpn
group _openvpn
persist-key
persist-tun
status openvpn-status.log
verb 3
-- 
View this message in context: 
http://www.nabble.com/-OpenVPN--MULTI%3A-bad-source-address-from-client--131.215.9.207--tf4609149.html#a13161860
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to