Hi Miguel,

We need more information about your setup to help.

Let me assume you are using a recent version of AstLinux, and AstLinux is 
acting as the OpenVPN server.

As this document states, you need the Firewall enabled for OpenVPN to operate 
properly.
http://doc.astlinux.org/userdoc:tt_openvpn_server

If I made any incorrect assumptions, please correct...

With any VPN, there is a configuration option specifying what networks on the 
client side that get routed over the VPN tunnel.  With OpenVPN this is done in 
the "push" section on the Server end:

"push":
--
route 10.10.10.0 255.255.255.0
--
this is the simplest, where only 10.10.10.0/24 traffic will be routed over the 
tunnel at the client end.  Only the client's global DNS is used, so expect to 
use manual addressing for the 10.10.10.0/24 hosts. (Note: you can have as many 
'route' commands as you wish)

"push":
--
dhcp-option DOMAIN example.com
dhcp-option DNS 10.10.10.1
route 10.10.10.0 255.255.255.0
--
this example still only routes  10.10.10.0/24 traffic over the tunnel, but it 
will use the DNS server at 10.10.10.1 so hosts can be reached by name.

"push":
--
dhcp-option DOMAIN example.com
dhcp-option DNS 10.10.10.1
redirect-gateway def1
--
this example ALL client traffic is routed over the VPN tunnel (except for the 
OpenVPN transport connection)


Finally, I know Bria on iOS has an option whether to send SIP over the VPN or 
not (regardless of VPN routes) so that may be a factor.  Adding to the 
confusion, it seems that when using SIP TLS in (iOS) Bria it *always* connects 
outside of the VPN, no matter what the VPN slider says.  Possibly if using SIP 
UDP, Bria may follow the VPN slider selection.

Lonnie



On Feb 26, 2013, at 5:43 AM, Miguel Angel wrote:

> I have this error :
> 3 read UDPv4 [CMSG=8|ECONNREFUSED]: Connection refused (code=111)
> this error is only with  astlinux´s firewall and openvpn client.the openvpn 
> connects but bria program NOT.Without firewall bria and openvpn connects 
> success.But with firewall openvpn connects and bria NOT connect. 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to