hans66
Hi
I have successfully set-up OpenVPN. It performs as expected, except for one thing:
- Debian server with OpenVPN server, local LAN IP = 192.168.1.1
- VPN client can "ping"/shh/http any device on 192.168.1.x network, except 192.168.1.1 (= the server which hosts the OpenVPN server)
- See conf file below.
- What do I have to do to fix this?
dev tun
proto udp
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
user nobody
group nogroup
server 10.65.0.0 255.255.255.0
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
persist-key
persist-tun
client-to-client
push "redirect-gateway def1"
push "explicit-exit-notify 3"
status /var/log/openvpn.status
status-version 1
ifconfig-pool-persist ipp.txt
keepalive 10 120
Cheers, Hans
hans66
I am aware of of the 192.168.1.1 is very common, but the clients were not on a 192.168.1.1/24 network.
I did read the forum rules, as I am a OpenVPN newbe (I have tried to read a lot on OpenVPN when I did set it up)...I am not sure which part of the forum rules I missed. I did not attach log files, as I don't have connection problems.
Apologies if I miss the obvious - some stuff is a bit of abracadabra for me 🙂. Any hints appreciated.
My assumption was (maybe incorrect) that I missed something obvious in my conf file, as I can connect to everything on 192.168.1.1/24 network except the 192.168.1.1 (Server where OpenVPN is installed)
Many thanks for your help!
Hans