Comments (6)
from openvpn.
But proto udp6
not limit connection in IPv6 ?
With dual-socket can I have the same IPv4 and IPv6 instance? How do I create a dual-stack socket?
OS: Debian
OpenVPN version: 2.4
from openvpn.
from openvpn.
Right, using proto udp6
by example without directive local
the server listen up in " :: " only.
The use of local
is valid only once and as defined by udp6
an IPv4 in local
is not accepted, so far so good, it's expected. IPv4 and IPv6 traffic between the ends works, but I want an instance on the server that allows the client to connect to my IPv4 or my IPv6 explicitly in directive remote ...
from openvpn.
from openvpn.
If you want the server side to explicitly bind to a specific IPv4 or
IPv6 address, then you need to run two instances today.
Normally this is only needed if you have multiple IPv4 addresses, and
want OpenVPN on only one of them - but this is a known shortcoming
(you can not have "I have 3 IPv4 addresses and want OpenVPN only to
listen on 2 of them" either) - as soon as you putlocal
in the config,
it's "one address, one protocol" only.
Understood
[ .... ] What is in the client config does not need to match the "local" part of the server
config (unless you use old-style--secret
without--float
).
In client is using float
conf
On FreeBSD, you can see "46" in the first column:
FreeBSD$ netstat -an |grep 51194 tcp46 0 0 *.51194 *.* LISTEN udp46 0 0 *.51194 *.*
but Linux is not showing it
Linux$ ss -an |grep 51194 udp UNCONN 0 0 *:51194 *:* tcp LISTEN 0 32 *:51194 *:*
In my case, using proto udp6
in server without local
, with IPv4 and IPv6 settings, i have output ss -an | grep 1194
:
udp UNCONN 0 0 *:1194 *:*
In netstat -anp | grep 1194
udp6 0 0 :::1194 :::* 11210/openvpn
In client:
proto udp
remote IPv4
remote IPv6
Really in netstat
and ss
appears to listen only on IPv6.
Now, with the confs above my client connect in both the protocols, very good. It was what I needed.
How is this possible? is it the socket management that allows this?
Very thanks by explanation @cron2
from openvpn.
Related Issues (20)
- Flutter package HOT 1
- windows client and proxy SOCKS: DeviceIoControl(OVPN_IOCTL_START_VPN) failed: Invalid descriptor(errno=6) HOT 11
- Deleted user could still login HOT 2
- VPS A serves as the client, and VPS B serves as the server. When I start openvpn on VPS A, I can only connect to VPS A from VPS B, and other hosts cannot connect. I want other hosts to be able to connect through port 22. HOT 2
- Avoid unlimited reconnects with failing client connections HOT 20
- ifconfig_broadcast environment variable is empty since 2.5 HOT 4
- problem with dns assignment HOT 4
- p2p tun configs break with new topology default in non-obvious ways HOT 8
- OpenVPN with mbed TLS: no warning for unsupported LZO compression — successfully connects without warning but not operable HOT 8
- DNS for remote server not refreshed after power hibernation and restoring HOT 3
- --preresolve is not documented HOT 1
- Installation package download problem HOT 2
- key_state_gen_auth_control_files has subtle logic mistake HOT 2
- The OpenVPN process exits unexpectedly when using the DCO kernel module HOT 13
- tapctl.exe creates an adapter, but fails to rename it HOT 5
- Problems when reconnecting OpenVPN HOT 1
- I'm getting a certificate error when I use OpenVPN to access a website with HSTS turned on.
- The openvpn client suddenly disconnects HOT 3
- VPN stop working HOT 4
- Debian / Ubuntu: OpenVPN apt repositories HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn.