VPN IPsec - Acess to exclusive IP

ipsec
vpn
v7

(Douglas Nogueira) #1

NethServer Version: 75
Module: IPSEC

I closed a vpn ipsec with a client, but this vpn was only accessible through ip 10.0.4.220/32.

I tried registering this ip as an alias of the interface and add a static route so that whenever I access the ip 10.30.30.66/32 exit through the alias interface, but it did not work.

Any tips on how to do this in NethServer?

Note: I tried to change the tunnel configuration to 10.0.0.0/16 with my client, which would be accessible from my entire network, but it only has a window for this in 10 days. I needed my entire network to access the VPN.


(Michael Kicks) #2

Would you please try to explain the network structure and your goal?

At least… In subnets, zone and Ipv4 addresses :slight_smile:


(Douglas Nogueira) #3

Of course, this is it:

My network: 10.0.0.0/16
Nethserver firewall green: 10.0.0.2/16

What you need to do through VPN 10.30.30.66/32

Need: access the IP above my entire network, today I can only access through ip 10.0.4.220/32.

I would solve this easily by changing the bus from ip 10.0.4.220/32 to /16 in the tunnel configuration, but how to do this in 10 days. Did you want to meet by any indication?