I have set up an OpenVPN tunnel between a host on my wireless network
(10.0.2.20) and a server on my internal LAN (10.0.1.4). I can ping
opposite ends of the tunnel from each of the hosts and want to set up
the systems so that all traffic from the wireless client goes over the
encrypted tunnel and all routes perform correctly.
+-----+ 10.0.2.1 | Wireless (10.0.2.0/24)
INTERNET ----| R |----------------| Network
+-----+ | +-+
|10.0.1.1 |-- | |
| | +-+
| 10.0.2.20
------------
| ^ (tun0: 10.0.3.2)
+-+ |
| | |
| | <========================= <= OpenVPN tunnel
+-+ (tun0: 10.0.3.1)
10.0.1.4
The current setup requires that the wireless clients first make an ssh
connection to 10.0.2.1 (thier default gateway) to authenticate to the
firewall/router (R) (OpenBSD/authpf). An SSH connection is maintained so
traffic travels between the wireless clients and the rest of the
network. I'm not sure if introducing openvpn will require that I
reconfigure this aspect of the setup.
Is the proper setup to configure 10.0.3.1 as the default gateway for the
wireless clients so that all traffic flows over the openvpn tunnel?
TIA,
DS
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|