swilshy
Hello,
I just setup an OpenVPN server on my router at home and I'm having trouble with two things:
1) Accessing ALL machines on my network (any subnet) trough the VPN.
2) Routing ALL outbound internet traffic from my client trough the VPN and back out from my router as though it came from a machine inside the network.
My current setup allows me to connect to the server with no problem and access machines ONLY on the 192.168.30.0 subnet. Again, I want to access machines on ALL subnets.
A little information about my setup:
The router running OpenVPN is the only one in my home and is the only Internet gateway I use. It's LAN IP is 192.168.30.1 . The subnet mask for my network is 255.255.0.0 .
Here is my server config:
mode server
proto tcp
port 443
dev tap0
server-bridge 192.168.30.1 255.255.0.0 192.168.30.21 192.168.30.95
# Gateway (VPN Server) Subnetmask Start-IP End-IP
keepalive 10 120
daemon
push "route 192.168.0.0 255.255.255.0"
verb 5
client-to-client
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
-------------------------
And here is my client config:
remote 72.15.116.108 443
client
dev tap0
proto tcp
resolv-retry infinite
nobind
persist-key
float
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
--------------------
I would appreciate any help if anyone knows how to accomplish one or more of the things that I'm trying to do!
Thank you in advance!