BennyHill67 wrote
server 192.168.66.0 255.255.255.0
BennyHill67 wrote
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
iptables should nat VPN not local subnet ..
66.0/24
BennyHill67 wrote
Internal IP of the router is 192.168.0.1
Also,
- 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
BennyHill67 wrote
Can't get the oconf code working
[ oconf=server ] .. etc .. [ /oconf ] (without the spaces)