On Fri, Aug 4, 2023 at 12:59 PM, David Sommerseth<dazo+open...@eurephia.org> 
wrote:   On 31.07.23 21:42, Jason Long via Openvpn-users wrote:
> Hello,Is it possible to set public IP addresses from different
> countries on one NIC?

This is a bit unclear.  Generally, you assign multiple IP addresses to a 
single NIC (physical), but it gets quickly very messy to route that 
correctly.  For virtual NICs (such as tun or dco interfaces), the remote 
end of that IP address will need to assign multiple IP addresses; 
OpenVPN does not support that.  And it will be the remote end which 
needs to know what to do with these IP addresses and route them 
correctly on the server side.

TL;DR: For physical local NICs, it *might* be possible with lots of 
extra work.  For VPN services, multiple IP addresses on a single tun/dco 
interface is generally not possible.

But you can run multiple VPN connections in parallel with separate 
tun/dco interfaces and route traffic (per IP range) accordingly.

> VPN provider companies provide VPN service with IP addresses of
> different countries. Do they have a separate server in that country?

Yes.

> Or have they just set IP addresses from different countries on the
> same server?
No.


You can achieve such a per-country routing setup via the CloudConnexa 
service provided by OpenVPN Inc.  But you need to setup a (VM) host in 
each country you want to send traffic via, and then configure them in 
CloudConnexa as egress points for specific IP ranges or even domain 
suffixes.  When you connect your own client end to CloudConnexa, your 
Internet traffic will be automatically routed via the egress points you 
have defined in you CloudConnexa setup.

But I am not aware of any other VPN provider having this capability. 
That said, I also don't have a too good overview of all of the VPN 
providers in this market; it's quite a wild west market segment 
(especially on the consumer VPN service side).


-- 
kind regards,

David Sommerseth
> OpenVPN Inc

Hello,Thank you so much for your reply.I didn't mean OpenVPN virtual NIC (Tun), 
I meant server NIC.When you rent a server from a company and they provide you 
the IP of different countries, it means that they have already done the routing 
and you can set the IP of different countries on the NIC. Is it true?

User opinions are different!!!

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

Reply via email to