I have configured nethserver as a vpn server, but there is something I can not understand.
I followed the guides on the page https://wiki.nethserver.org/doku.php?id=howto:howto_set_up_a_vpn
My ip address remains the same, instead of it changing to the ip address of the server.
is there something I have configured wrongly.
I am able to connect via OpenVPN client on my windows machine
@stephdl I am able to connect, but the ip address remains the same local ip of my isp instead of the server ip.
this is basically what I am trying to achieve.
users on the network connect to the internet via the configured vpn, then for some server access, limit the connection to the fixed ip of the server.
like @mrmarkuz said, you get an IP address on a virtual NIC but you still keep the default IP of your isp. It depend also of what vpn you look for, routed( you got an IP in a different network of the server) or bridged (you got the same IP range of the server)
in bridged mode, let’s assume the server IP is 192.168.56.1 with a network 192.168.56.0/24, the ip will be that network but only on the virtual nic called tap0 generally speaking
I did it but you need two nics, since it is a proxmox OS I have I can do what I want…I bridged on the green nic. I need it because I want to hide the samba AD VM behind the firewall