Hello, could you help me design my network?
My home lan is
192.168.1.0/24
GW - 192.168.1.254
Server (vpn) ip - 192.168.1.1
My ip from isp is 10.32.229.30
And I have also public ip assigned
How should I design my server vpn settings so that, ips to vpn clients would be from pool 192.168.200.1 - 192.168.200.31 and clients could reach each other.
This my current settings on server:
mode server
port 1194
proto udp
dev tap0
persist-key
persist-tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key # This file should be kept secret
dh keys/dh1024.pem
cipher BF-CBC # Blowfish (default)
comp-lzo # compression
client-to-client
ifconfig-pool-persist ipp.txt
#local 192.168.200.1
server-bridge 192.168.200.1 255.255.255.0 192.168.200.2 192.168.200.31
max-clients 10
user nobody
group nogroup
keepalive 10 120
status openvpn-status.log
verb 3
script-security 3 system
I'm able to connect to my vpn network, I can ping server from clients, but I cant ping any client from server neither ping client to client. How to fix it?
Do I need to push any route to clients? Isnt problem that when client connects, it got for example ip 192.168.200.3 but server ip is from different network 192.168.1.1?
Is it possible to set servers ip to "192.168.200.1" even though its real local ip is 192.168.1.1?
Thank you 🙂