I have open VPN set up and IPfire shows it as running.
OpenVPN tab in ipfire admin says the client is connected.
BUt, the client can’t ping anything on the green network or anything on the internet.
This was working before I upgraded to ipfire core 145. I had to redo all the VPN stuff because the previous ipfire core was too old to just upgrade.
I’m not even sure where to start to trouble shoot since OpenVPN says the client is connected.
Edit: subnet scan on the client shows computers on the green network. And I can access servers (for example, I can connect to my home automation system. But, ping to an address on green or the internet fails.
In Services>OpenVPN it shows you as connected (green box).
Assuming your local network is 10.0.0.*, can you ping any host by ip (eg. ping 10.0.0.10 where you know there is a system connected to .10) ? In the advanced server options page, domain and dns should be provided, to ping by name. Can you post a screenshot (blur/mask the public ip) ?
I do not have the Client-to-Client check. Yes, “local” is your local network (home, office, lab).
In my case I filled up domain as lan and dns as 10.0.0.1, then I can ping xps (10.0.0.10) from my vpn connection. You need to stop vpn, make changes in the advanced section, save, and restart it.
Can you post the screenshot of the previous page ?
I guess I don’t understand all I need to about the minimum requirements.
What I think I know or have configured:
a working connection between an Android phone (I’m calling this the client) and the OpenVPN on my IPFire PC
The IPFire PC knows about the devices on my green network and they can all ping each other and get to the internet.
the green network has it’s own ip address range starting with 192…
the vpn and client are on another ip range starting with 10…
a subnet scan on the client shows all the 192… devices, but not show their hostname.domain
ping (client to green) appears to work to ip addresses, but not when host.domain is used
(I assume the client OpenVPN setup or the OpenVPN server on the IPFire box doesn’t have the DNS settings right…???)
the client can connect with, ip address, to hosts, in the 192… range, running applications. like my home control
I can’t ping from 192… to client on 10…
This is new territory for me and I’m not sure what should and shouldn’t work. And thus what settings I’m missing, if any.
Edit: I also just attempted to add an ip address to the Route Push options, but it doesn’t appear to save what I enter.
The client’s ovpn, that is the zip file (which has a .ovpn and a .p12 file) which you d/l into your android phone. The server configuration can be found in /var/ipfire/ovpn/server.conf
If you defined domain and DNS as I wrote before, you would see those 2 lines in the server.conf (and that would allow you to resolve local hosts by name)
…
auth SHA512
push “dhcp-option DOMAIN lan”
push “dhcp-option DNS 10.0.0.1”
max-clients 100
…