I setup a fresh IPFire server so that I could use the OpenVPN server setup, I’ll admit its been a while since I setup a VPN, last time it was on an IPCop firewall.
I read a bunch but cannot nail down what the heck is wrong.
With a fresh setup of IPFire, I’ve configured OpenVPN and a client, my Client connects and can reach the Green interface, but nothing on the LAN the green interface is on.
I’ve read a number of times that others needed to add route at the command line on the server.
No body ever really explains why this is needed, I mean what caused this to be needed.
I am testing this setup by connecting a laptop to a cell hotspot.
My IPFire has a direct internet IP for the red interface, IPFire is routing.
My route table on the server says
0.0.0.0 GW xxx.xxx.110.57 Red0
10.151.26.0 GW 10.151.26.2 Tun0
10.151.26.2 GW 0.0.0.0 Tun0
xxx.xxx.110.0 GW 0.0.0.0 Red0
xxx.xxx.110.57 GW 0.0.0.0 Red0
192.xxx.xxx.0 GW 0.0.0.0 Green0
10.151.26.0 is the internal VPN IP
192.xxx.xxx.0 is my internal LAN
xxx.xxx.110.57 is the default GW for the Red0 interface which has IP xxx.xxx.110.60
I can ping green host from the IPFire command line.