CktDesigner wrote
My local network is using 192.168.1.x
Bad choice ..
- NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
:arrow:
Never use 192.168.0.0/24 or 192.168.1.0/24 (or other common subnets) for your OpenVPN Server LAN :!:
- You are advised to change your server LAN to a more unique RFC1918 compliant subnet.
For example: 192.168.143.0/24
Also, ensure
IP forwarding is enabled on your server.
CktDesigner wrote
My ipfw.rules file contains the statements:
ipfw -q nat 1 config if epairN
ipfw -q add nat 1 all from 10.8.0.0/24 to any out via epairN
ipfw -q add nat 1 all from any to any in via epairN
I don't recognise those commands but they could be right.
This is the howto for what you are trying to do:
HOWTO: Routing all client traffic (including web-traffic) through the VPN
CktDesigner wrote
While I realize that the intent of OpenVPN (or any VPN) is for use from outside the local network, I would still expect it to work inside the local network
It is all too easy to create routing conflicts from inside your LAN but it can be done. It is only worth using the VPN from your LAN for testing though ..