[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Enabling OpenVPN server on multiple interfaces?


  • Subject: [Openvpn-users] Enabling OpenVPN server on multiple interfaces?
  • From: "Jeff Shanholtz" <jeffsubs@xxxxxxxxxxxxx>
  • Date: Sun, 2 Oct 2005 14:36:25 -0700
  • Keywords: Subscription Mail

Apologies if this is a double post (didn't seem to get through the 1st
time)...

I currently have OpenVPN successfully working on my external interface
(internet). I want it to also serve my wireless network which is on its own
network (i.e. I have 3 nic's - one for local network, one for internet, one
for wireless). In other words, I want wireless clients to be firewalled out
of my local network until they vpn in.

So I want OpenVPN to serve both my external interface and my wireless
network. However, when I try to connect to the vpn over the wireless
network, it fails to connect with this error: "TCP/UDP: Socket bind failed
on local address [undef]:1194: Address already in use (WSAEADDRINUSE)". In
addition, if I set verb to 9 on my server it reports "TCP/UDP: No outgoing
address to send packet". I am using a static configuration (this is for
personal use only for now) and I know there isn't already another vpn
connection established.

I'm quite certain my iptables firewall is properly configured. Everything
works fine across the internet so I essentially duplicated all my external
interface rules for my wireless. I can get a dhcp address and ping back and
forth on my wireless network (I mean before attempting to connect to the
vpn). And bringing down my firewall makes no difference either.

I'm not sure what the problem could be. The only difference between my
working "across the internet" client conf file and the one I'm using for my
wireless connection is the remote address setting.

Anyway, here's my server conf file, followed by my client conf file. If
anyone can shed some light on this problem I'd be grateful.

Server:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret /etc/openvpn/keys/static.key
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key

Client:
remote 192.168.1.1
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
route 192.168.0.0 255.255.255.0
dhcp-option WINS 192.168.0.1
dhcp-option NBT 2


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-10/msg00006.html on line 230

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-10/msg00006.html on line 230