public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openvpn - Socket bind failed on local address [undef]:1194
@ 2010-02-26 18:50 Joseph
  2010-02-26 19:16 ` [gentoo-user][SOLVED] " Joseph
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph @ 2010-02-26 18:50 UTC (permalink / raw
  To: gentoo-user

I have one client and trying to connect to two openvpn servers (both servers are behind same IP address):

client1
remote 208.38.31.237 9000

client2 
remote 208.38.31.237 9050

I can connect to them one at a time but not both at the same time.
If I try to start the second connection I get:

TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use

I was able to connect to both servers at the same time when the servers were on my local subnet: 10.0.0.150 (simulated)
But if I try real world scenario, it I get "Address already in use"

What is the difference?

-- 
Joseph



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user][SOLVED] openvpn - Socket bind failed on local address [undef]:1194
  2010-02-26 18:50 [gentoo-user] openvpn - Socket bind failed on local address [undef]:1194 Joseph
@ 2010-02-26 19:16 ` Joseph
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph @ 2010-02-26 19:16 UTC (permalink / raw
  To: gentoo-user

On 02/26/10 11:50, Joseph wrote:
>I have one client and trying to connect to two openvpn servers (both servers are behind same IP address):
>
>client1
>remote 208.38.31.237 9000
>
>client2 remote 208.38.31.237 9050
>
>I can connect to them one at a time but not both at the same time.
>If I try to start the second connection I get:
>
>TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use
>
>I was able to connect to both servers at the same time when the servers were on my local subnet: 10.0.0.150 (simulated)
>But if I try real world scenario, it I get "Address already in use"
>
>What is the difference?
>
>-- 
>Joseph

SOLVED

I had to add to my client/server config file the same port number, eg.
proto udp
port 9050

-- 
Joseph



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-26 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 18:50 [gentoo-user] openvpn - Socket bind failed on local address [undef]:1194 Joseph
2010-02-26 19:16 ` [gentoo-user][SOLVED] " Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox